Skip to content

yeganeahmadnejad/ansible_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages