Skip to content

100MAD/IAC_DevOps_Project

Repository files navigation

IAC_DevOps_Project

Ansible Project to Harden, Install Docker and private registry, Deploy WordPress, NginX reverse proxy and also a backup script to backup important data periodically.

Roles

  • Hardening
  • Docker
  • Registry
  • WordPress
  • NGINX
  • Backup

Requirements

Python 3.8 and up
Ansible 2.10.0 and up

Setup and dependencies

installing ansible module dependencies

ansible-galaxy install -r requirements.yml

Run

Add ssh config host name to myhosts and change ssh_key_path = YOUR_PATH in ansible.cfg to connect to the remote servers.

ansible-playbook -i myhosts -K playbook.yml

Links

WordPress:

http://138.197.178.226/

Registry UI:

http://138.197.178.226/registry

Location of important directories on the server

main dir: ~/ansible_agent

Backup dir: ~/ansible_agent/backup/daily

About

IAC Project of my Arvan Academy's DevOps Course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published