A server configuration by installing nginx and create templates, copy files to machine Init the project using Ansible Galaxy
ansible-galaxy init
- To Run ansible configuration
- Os any linux distribution
- Install ansible
- Change in inventory file the ip of the mahcine
- Change in ansible.config the username and password for the machine
Role Variables
- Variables located in motd/default/main.yml
ansible-playbook web-role.yml
- hosts: servers
roles:
- motd
BSD