diff --git a/.gitignore b/.gitignore index 017a12f..d7ad54d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,11 @@ ### Ansible ### *.retry +### ansible private files ### +inv-prod.yml +group_vars/staging.yml +host_vars/ssdnodes.yml + ### Linux ### *~ diff --git a/ansible.cfg b/ansible.cfg index 7c37b6a..5f7a44a 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -inventory = ./staging.yml +inventory = ./inv-dev.yml diff --git a/staging.yml b/inv-dev.yml similarity index 100% rename from staging.yml rename to inv-dev.yml diff --git a/inv-staging.yml b/inv-staging.yml new file mode 100644 index 0000000..9eb0985 --- /dev/null +++ b/inv-staging.yml @@ -0,0 +1,8 @@ +staging: + hosts: + ssdnodes: + +docker_swarm_manager_node: + hosts: + ssdnodes: + diff --git a/site-dev.yml b/site-dev.yml new file mode 100644 index 0000000..5f348f6 --- /dev/null +++ b/site-dev.yml @@ -0,0 +1,6 @@ +--- + +- hosts: docker_swarm_manager_node + roles: + - whoami + - wallabag