Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 694 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 694 Bytes

Start with Ansible configuration manager

Description

In this project, we have 4 role which are responsible for configure our system madular.

  1. role postgres : for installing and configuring postgres database server.
  2. role nginx : for installing and configuring nginx webserver and deploying the code.
  3. role common : for configuring common requirment of servers.
  4. role learning : for learning purpose, I wanted to test variable priority and test loops in ansible.

On learning role I found that variable priority is like :

    1. group_vars
    1. vars
    1. default

1.An ansible playbook for executing the configs

#ansible-playbook site.yml -i inventory/sample/hosts.yml