├── Chapter 10 ├── aws.yaml ├── azure.yaml ├── container.yml ├── gce.yaml ├── k8s-ns-show.yaml ├── k8s-ns.yaml ├── k8s-svc.yaml ├── openstack.yaml ├── rax.yaml └── start-docker-container.yaml ├── Chapter 11 ├── check-mode.yaml ├── debug.yaml ├── debug2.yaml ├── helloworld.yaml ├── inventory ├── print_facts.yaml ├── printvar.yaml ├── remote.yaml ├── syntaxcheck-fixed.yaml └── syntaxcheck.yaml ├── Chapter 2 ├── appservers-emea.yml ├── employee-all-playbook.yml ├── employee-flow-playbook.yml ├── employee-playbook.yml ├── employees-all.yml ├── employees-flow.yml ├── employees.yml ├── frontends-na.yml ├── hosts ├── jinja2-filtering1.yml ├── jinja2-filtering2.yml ├── jinja2-filtering3.yml ├── multiple-document-strings.yaml ├── production-inventory ├── redis-playbook.yml ├── site.yml └── update-apache-version.yml ├── Chapter 3 ├── groupvars1-hostgroups-ini ├── hostgroups-children-ini ├── hostgroups-children-vars-ini ├── hostgroups-ini ├── hostgroups-yml ├── hosts ├── hostvars1-hostgroups-ini ├── hostvars2-hostgroups-ini ├── hostvars2-hostgroups-yml ├── my_inventory ├── my_inventory.yaml ├── site.yml ├── static-groups-mix-ini ├── vartree │ ├── group_vars │ │ └── frontends.yml │ ├── host_vars │ │ └── frt01.example.com.yml │ └── inventory └── vartree2 │ ├── group_vars │ └── frontends │ │ ├── https_port.yml │ │ └── lb_vip.yml │ ├── host_vars │ └── frt01.example.com │ │ └── main.yml │ └── inventory ├── Chapter 4 ├── blocks-error.yml ├── blocks.yml ├── condition.yml ├── condition2.yml ├── condition3.yml ├── debug.yml ├── handlers1.yml ├── handlers2.yml ├── hosts ├── installapache.yml ├── loop1.yml ├── loop2.yml ├── loop3.yml ├── loopmain.yml ├── loopsubtask.yml ├── myplaybook.yaml ├── playandtask.yml ├── playbookvsadhoc.yml ├── role-example1 │ ├── hosts │ ├── roles │ │ └── installapache │ │ │ └── tasks │ │ │ ├── centos.yml │ │ │ ├── main.yml │ │ │ └── ubuntu.yml │ └── site.yml ├── role-example2 │ ├── hosts │ ├── roles │ │ ├── linuxtype │ │ │ └── meta │ │ │ │ └── main.yml │ │ ├── network │ │ │ ├── meta │ │ │ │ └── main.yml │ │ │ └── tasks │ │ │ │ └── main.yml │ │ ├── platform │ │ │ └── meta │ │ │ │ └── main.yml │ │ ├── testrole │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── defaults │ │ │ │ └── main.yml │ │ │ ├── handlers │ │ │ │ └── main.yml │ │ │ ├── meta │ │ │ │ └── main.yml │ │ │ ├── tasks │ │ │ │ └── main.yml │ │ │ ├── tests │ │ │ │ ├── inventory │ │ │ │ └── test.yml │ │ │ └── vars │ │ │ │ └── main.yml │ │ └── version │ │ │ ├── meta │ │ │ └── main.yml │ │ │ └── tasks │ │ │ └── main.yml │ └── site.yml ├── staticvsdynamicroles.yml ├── template.j2 └── templates │ └── src.j2 ├── Chapter 5 ├── args.json ├── better_remote_filecopy.py ├── hosts ├── remote_filecopy.py ├── retval.yml └── testplaybook │ ├── hosts │ ├── library │ └── remote_filecopy.py │ └── testplaybook.yml ├── Chapter 6 ├── filter_plugins │ ├── custom_filter.py │ └── custom_filter.pyc ├── hosts ├── lookup_plugins │ ├── firstchar.py │ └── firstchar.pyc ├── myplugin.yml ├── myplugin2.yml ├── pipetest.yml └── testdoc.txt ├── Chapter 7 ├── best-practise-directory-structure │ ├── filter_plugins │ │ ├── custom_filter.py │ │ └── custom_filter.pyc │ ├── inventories │ │ ├── development │ │ │ ├── group_vars │ │ │ │ └── app.yml │ │ │ └── hosts │ │ └── production │ │ │ ├── group_vars │ │ │ └── app.yml │ │ │ └── hosts │ ├── library │ │ └── remote_filecopy.py │ ├── roles │ │ └── installapp │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── defaults │ │ │ └── main.yml │ │ │ ├── handlers │ │ │ └── main.yml │ │ │ ├── meta │ │ │ └── main.yml │ │ │ ├── tasks │ │ │ └── main.yml │ │ │ ├── tests │ │ │ ├── inventory │ │ │ └── test.yml │ │ │ └── vars │ │ │ └── main.yml │ └── site.yml ├── hosts ├── osvariants.yml ├── variable-precedence-1 │ ├── inventories │ │ └── development │ │ │ ├── group_vars │ │ │ └── all.yml │ │ │ └── hosts │ └── site.yml ├── variable-precedence-2 │ ├── inventories │ │ └── development │ │ │ ├── group_vars │ │ │ ├── all.yml │ │ │ └── app.yml │ │ │ └── hosts │ └── site.yml ├── variable-precedence-3 │ ├── inventories │ │ └── development │ │ │ ├── group_vars │ │ │ ├── all.yml │ │ │ ├── centos.yml │ │ │ ├── dapp.yml │ │ │ └── newcentos.yml │ │ │ └── hosts │ └── site.yml └── variable-precedence-4 │ ├── inventories │ └── development │ │ ├── group_vars │ │ ├── all.yml │ │ ├── centos.yml │ │ ├── dapp.yml │ │ └── newcentos.yml │ │ ├── host_vars │ │ └── app01.dev.example.com.yml │ │ └── hosts │ └── site.yml ├── Chapter 8 ├── add_to_loadbalancer.sh ├── async.yml ├── async2.yml ├── delegate.yml ├── delegate2.yml ├── hosts ├── inlinevaultplaybook.yml ├── localhosts ├── localhosts2 ├── maxfail.yml ├── morehosts ├── prompt.yml ├── remove_from_loadbalancer.sh ├── runonce.yml ├── secret.yml ├── serial.yml ├── switches ├── tags.yml ├── templates │ └── nginx.conf.j2 └── vaultplaybook.yml ├── Chapter 9 ├── conditional-example │ ├── group_vars │ │ └── cumulusvx.yml │ ├── hosts │ └── portenable.yml ├── connection-example │ ├── cumulusvx_facts.yml │ ├── group_vars │ │ ├── cumulusvx.yml │ │ └── routers.yml │ ├── hosts │ └── ios_facts.yml └── environment-example │ ├── group_vars │ ├── bastion_cumulusvx.yml │ └── bastion_routers.yml │ └── hosts ├── LICENSE └── README.md /Chapter 10/aws.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/aws.yaml -------------------------------------------------------------------------------- /Chapter 10/azure.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/azure.yaml -------------------------------------------------------------------------------- /Chapter 10/container.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/container.yml -------------------------------------------------------------------------------- /Chapter 10/gce.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/gce.yaml -------------------------------------------------------------------------------- /Chapter 10/k8s-ns-show.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/k8s-ns-show.yaml -------------------------------------------------------------------------------- /Chapter 10/k8s-ns.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/k8s-ns.yaml -------------------------------------------------------------------------------- /Chapter 10/k8s-svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/k8s-svc.yaml -------------------------------------------------------------------------------- /Chapter 10/openstack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/openstack.yaml -------------------------------------------------------------------------------- /Chapter 10/rax.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/rax.yaml -------------------------------------------------------------------------------- /Chapter 10/start-docker-container.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 10/start-docker-container.yaml -------------------------------------------------------------------------------- /Chapter 11/check-mode.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/check-mode.yaml -------------------------------------------------------------------------------- /Chapter 11/debug.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/debug.yaml -------------------------------------------------------------------------------- /Chapter 11/debug2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/debug2.yaml -------------------------------------------------------------------------------- /Chapter 11/helloworld.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/helloworld.yaml -------------------------------------------------------------------------------- /Chapter 11/inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/inventory -------------------------------------------------------------------------------- /Chapter 11/print_facts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/print_facts.yaml -------------------------------------------------------------------------------- /Chapter 11/printvar.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/printvar.yaml -------------------------------------------------------------------------------- /Chapter 11/remote.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/remote.yaml -------------------------------------------------------------------------------- /Chapter 11/syntaxcheck-fixed.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/syntaxcheck-fixed.yaml -------------------------------------------------------------------------------- /Chapter 11/syntaxcheck.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 11/syntaxcheck.yaml -------------------------------------------------------------------------------- /Chapter 2/appservers-emea.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/appservers-emea.yml -------------------------------------------------------------------------------- /Chapter 2/employee-all-playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employee-all-playbook.yml -------------------------------------------------------------------------------- /Chapter 2/employee-flow-playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employee-flow-playbook.yml -------------------------------------------------------------------------------- /Chapter 2/employee-playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employee-playbook.yml -------------------------------------------------------------------------------- /Chapter 2/employees-all.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employees-all.yml -------------------------------------------------------------------------------- /Chapter 2/employees-flow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employees-flow.yml -------------------------------------------------------------------------------- /Chapter 2/employees.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/employees.yml -------------------------------------------------------------------------------- /Chapter 2/frontends-na.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/frontends-na.yml -------------------------------------------------------------------------------- /Chapter 2/hosts: -------------------------------------------------------------------------------- 1 | [frontends_na_zone] 2 | 192.168.81.142 3 | -------------------------------------------------------------------------------- /Chapter 2/jinja2-filtering1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/jinja2-filtering1.yml -------------------------------------------------------------------------------- /Chapter 2/jinja2-filtering2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/jinja2-filtering2.yml -------------------------------------------------------------------------------- /Chapter 2/jinja2-filtering3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/jinja2-filtering3.yml -------------------------------------------------------------------------------- /Chapter 2/multiple-document-strings.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/multiple-document-strings.yaml -------------------------------------------------------------------------------- /Chapter 2/production-inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/production-inventory -------------------------------------------------------------------------------- /Chapter 2/redis-playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/redis-playbook.yml -------------------------------------------------------------------------------- /Chapter 2/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/site.yml -------------------------------------------------------------------------------- /Chapter 2/update-apache-version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 2/update-apache-version.yml -------------------------------------------------------------------------------- /Chapter 3/groupvars1-hostgroups-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/groupvars1-hostgroups-ini -------------------------------------------------------------------------------- /Chapter 3/hostgroups-children-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostgroups-children-ini -------------------------------------------------------------------------------- /Chapter 3/hostgroups-children-vars-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostgroups-children-vars-ini -------------------------------------------------------------------------------- /Chapter 3/hostgroups-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostgroups-ini -------------------------------------------------------------------------------- /Chapter 3/hostgroups-yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostgroups-yml -------------------------------------------------------------------------------- /Chapter 3/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hosts -------------------------------------------------------------------------------- /Chapter 3/hostvars1-hostgroups-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostvars1-hostgroups-ini -------------------------------------------------------------------------------- /Chapter 3/hostvars2-hostgroups-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostvars2-hostgroups-ini -------------------------------------------------------------------------------- /Chapter 3/hostvars2-hostgroups-yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/hostvars2-hostgroups-yml -------------------------------------------------------------------------------- /Chapter 3/my_inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/my_inventory -------------------------------------------------------------------------------- /Chapter 3/my_inventory.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/my_inventory.yaml -------------------------------------------------------------------------------- /Chapter 3/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/site.yml -------------------------------------------------------------------------------- /Chapter 3/static-groups-mix-ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/static-groups-mix-ini -------------------------------------------------------------------------------- /Chapter 3/vartree/group_vars/frontends.yml: -------------------------------------------------------------------------------- 1 | --- 2 | https_port: 8443 3 | lb_vip: lb.example.com 4 | -------------------------------------------------------------------------------- /Chapter 3/vartree/host_vars/frt01.example.com.yml: -------------------------------------------------------------------------------- 1 | --- 2 | https_port: 8444 3 | -------------------------------------------------------------------------------- /Chapter 3/vartree/inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/vartree/inventory -------------------------------------------------------------------------------- /Chapter 3/vartree2/group_vars/frontends/https_port.yml: -------------------------------------------------------------------------------- 1 | --- 2 | https_port: 8443 3 | -------------------------------------------------------------------------------- /Chapter 3/vartree2/group_vars/frontends/lb_vip.yml: -------------------------------------------------------------------------------- 1 | --- 2 | lb_vip: lb.example.com 3 | -------------------------------------------------------------------------------- /Chapter 3/vartree2/host_vars/frt01.example.com/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | https_port: 8444 3 | -------------------------------------------------------------------------------- /Chapter 3/vartree2/inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 3/vartree2/inventory -------------------------------------------------------------------------------- /Chapter 4/blocks-error.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/blocks-error.yml -------------------------------------------------------------------------------- /Chapter 4/blocks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/blocks.yml -------------------------------------------------------------------------------- /Chapter 4/condition.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/condition.yml -------------------------------------------------------------------------------- /Chapter 4/condition2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/condition2.yml -------------------------------------------------------------------------------- /Chapter 4/condition3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/condition3.yml -------------------------------------------------------------------------------- /Chapter 4/debug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/debug.yml -------------------------------------------------------------------------------- /Chapter 4/handlers1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/handlers1.yml -------------------------------------------------------------------------------- /Chapter 4/handlers2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/handlers2.yml -------------------------------------------------------------------------------- /Chapter 4/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/hosts -------------------------------------------------------------------------------- /Chapter 4/installapache.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/installapache.yml -------------------------------------------------------------------------------- /Chapter 4/loop1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/loop1.yml -------------------------------------------------------------------------------- /Chapter 4/loop2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/loop2.yml -------------------------------------------------------------------------------- /Chapter 4/loop3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/loop3.yml -------------------------------------------------------------------------------- /Chapter 4/loopmain.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/loopmain.yml -------------------------------------------------------------------------------- /Chapter 4/loopsubtask.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/loopsubtask.yml -------------------------------------------------------------------------------- /Chapter 4/myplaybook.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/myplaybook.yaml -------------------------------------------------------------------------------- /Chapter 4/playandtask.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/playandtask.yml -------------------------------------------------------------------------------- /Chapter 4/playbookvsadhoc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/playbookvsadhoc.yml -------------------------------------------------------------------------------- /Chapter 4/role-example1/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example1/hosts -------------------------------------------------------------------------------- /Chapter 4/role-example1/roles/installapache/tasks/centos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example1/roles/installapache/tasks/centos.yml -------------------------------------------------------------------------------- /Chapter 4/role-example1/roles/installapache/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example1/roles/installapache/tasks/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example1/roles/installapache/tasks/ubuntu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example1/roles/installapache/tasks/ubuntu.yml -------------------------------------------------------------------------------- /Chapter 4/role-example1/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example1/site.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/hosts -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/linuxtype/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/linuxtype/meta/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/network/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | allow_duplicates: true 3 | -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/network/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/network/tasks/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/platform/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/platform/meta/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/testrole/.travis.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/testrole/README.md -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # defaults file for testrole -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for testrole -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/testrole/meta/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # tasks file for testrole -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | 3 | -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/tests/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/testrole/tests/test.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/testrole/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for testrole -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/version/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | allow_duplicates: true 3 | -------------------------------------------------------------------------------- /Chapter 4/role-example2/roles/version/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/roles/version/tasks/main.yml -------------------------------------------------------------------------------- /Chapter 4/role-example2/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/role-example2/site.yml -------------------------------------------------------------------------------- /Chapter 4/staticvsdynamicroles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/staticvsdynamicroles.yml -------------------------------------------------------------------------------- /Chapter 4/template.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 4/template.j2 -------------------------------------------------------------------------------- /Chapter 4/templates/src.j2: -------------------------------------------------------------------------------- 1 | Hello World! 2 | -------------------------------------------------------------------------------- /Chapter 5/args.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/args.json -------------------------------------------------------------------------------- /Chapter 5/better_remote_filecopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/better_remote_filecopy.py -------------------------------------------------------------------------------- /Chapter 5/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/hosts -------------------------------------------------------------------------------- /Chapter 5/remote_filecopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/remote_filecopy.py -------------------------------------------------------------------------------- /Chapter 5/retval.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/retval.yml -------------------------------------------------------------------------------- /Chapter 5/testplaybook/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/testplaybook/hosts -------------------------------------------------------------------------------- /Chapter 5/testplaybook/library/remote_filecopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/testplaybook/library/remote_filecopy.py -------------------------------------------------------------------------------- /Chapter 5/testplaybook/testplaybook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 5/testplaybook/testplaybook.yml -------------------------------------------------------------------------------- /Chapter 6/filter_plugins/custom_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/filter_plugins/custom_filter.py -------------------------------------------------------------------------------- /Chapter 6/filter_plugins/custom_filter.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/filter_plugins/custom_filter.pyc -------------------------------------------------------------------------------- /Chapter 6/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/hosts -------------------------------------------------------------------------------- /Chapter 6/lookup_plugins/firstchar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/lookup_plugins/firstchar.py -------------------------------------------------------------------------------- /Chapter 6/lookup_plugins/firstchar.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/lookup_plugins/firstchar.pyc -------------------------------------------------------------------------------- /Chapter 6/myplugin.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/myplugin.yml -------------------------------------------------------------------------------- /Chapter 6/myplugin2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/myplugin2.yml -------------------------------------------------------------------------------- /Chapter 6/pipetest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 6/pipetest.yml -------------------------------------------------------------------------------- /Chapter 6/testdoc.txt: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/filter_plugins/custom_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/filter_plugins/custom_filter.py -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/filter_plugins/custom_filter.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/filter_plugins/custom_filter.pyc -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/inventories/development/group_vars/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8080 3 | -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/inventories/development/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/inventories/development/hosts -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/inventories/production/group_vars/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 80 3 | -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/inventories/production/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/inventories/production/hosts -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/library/remote_filecopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/library/remote_filecopy.py -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/roles/installapp/.travis.yml -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/roles/installapp/README.md -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # defaults file for installapp -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for installapp -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/roles/installapp/meta/main.yml -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/roles/installapp/tasks/main.yml -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | 3 | -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/tests/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/roles/installapp/tests/test.yml -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/roles/installapp/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for installapp -------------------------------------------------------------------------------- /Chapter 7/best-practise-directory-structure/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/best-practise-directory-structure/site.yml -------------------------------------------------------------------------------- /Chapter 7/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/hosts -------------------------------------------------------------------------------- /Chapter 7/osvariants.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/osvariants.yml -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-1/inventories/development/group_vars/all.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8080 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-1/inventories/development/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-1/inventories/development/hosts -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-1/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-1/site.yml -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-2/inventories/development/group_vars/all.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8080 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-2/inventories/development/group_vars/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8081 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-2/inventories/development/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-2/inventories/development/hosts -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-2/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-2/site.yml -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/inventories/development/group_vars/all.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8080 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/inventories/development/group_vars/centos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8082 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/inventories/development/group_vars/dapp.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8081 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/inventories/development/group_vars/newcentos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8083 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/inventories/development/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-3/inventories/development/hosts -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-3/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-3/site.yml -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/group_vars/all.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8080 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/group_vars/centos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8082 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/group_vars/dapp.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8081 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/group_vars/newcentos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 8083 3 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/host_vars/app01.dev.example.com.yml: -------------------------------------------------------------------------------- 1 | --- 2 | http_port: 9090 3 | 4 | -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/inventories/development/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-4/inventories/development/hosts -------------------------------------------------------------------------------- /Chapter 7/variable-precedence-4/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 7/variable-precedence-4/site.yml -------------------------------------------------------------------------------- /Chapter 8/add_to_loadbalancer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo Adding $1 to load balancer... 3 | -------------------------------------------------------------------------------- /Chapter 8/async.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/async.yml -------------------------------------------------------------------------------- /Chapter 8/async2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/async2.yml -------------------------------------------------------------------------------- /Chapter 8/delegate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/delegate.yml -------------------------------------------------------------------------------- /Chapter 8/delegate2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/delegate2.yml -------------------------------------------------------------------------------- /Chapter 8/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/hosts -------------------------------------------------------------------------------- /Chapter 8/inlinevaultplaybook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/inlinevaultplaybook.yml -------------------------------------------------------------------------------- /Chapter 8/localhosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/localhosts -------------------------------------------------------------------------------- /Chapter 8/localhosts2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/localhosts2 -------------------------------------------------------------------------------- /Chapter 8/maxfail.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/maxfail.yml -------------------------------------------------------------------------------- /Chapter 8/morehosts: -------------------------------------------------------------------------------- 1 | [frontends] 2 | frt[01:10].example.com 3 | -------------------------------------------------------------------------------- /Chapter 8/prompt.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/prompt.yml -------------------------------------------------------------------------------- /Chapter 8/remove_from_loadbalancer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo Removing $1 from load balancer... 3 | -------------------------------------------------------------------------------- /Chapter 8/runonce.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/runonce.yml -------------------------------------------------------------------------------- /Chapter 8/secret.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/secret.yml -------------------------------------------------------------------------------- /Chapter 8/serial.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/serial.yml -------------------------------------------------------------------------------- /Chapter 8/switches: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/switches -------------------------------------------------------------------------------- /Chapter 8/tags.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/tags.yml -------------------------------------------------------------------------------- /Chapter 8/templates/nginx.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/templates/nginx.conf.j2 -------------------------------------------------------------------------------- /Chapter 8/vaultplaybook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 8/vaultplaybook.yml -------------------------------------------------------------------------------- /Chapter 9/conditional-example/group_vars/cumulusvx.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_user: cumulus 3 | become: false 4 | -------------------------------------------------------------------------------- /Chapter 9/conditional-example/hosts: -------------------------------------------------------------------------------- 1 | [cumulusvx] 2 | vx01.example.com 3 | 4 | -------------------------------------------------------------------------------- /Chapter 9/conditional-example/portenable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/conditional-example/portenable.yml -------------------------------------------------------------------------------- /Chapter 9/connection-example/cumulusvx_facts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/connection-example/cumulusvx_facts.yml -------------------------------------------------------------------------------- /Chapter 9/connection-example/group_vars/cumulusvx.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_user: cumulus 3 | become: false 4 | -------------------------------------------------------------------------------- /Chapter 9/connection-example/group_vars/routers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/connection-example/group_vars/routers.yml -------------------------------------------------------------------------------- /Chapter 9/connection-example/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/connection-example/hosts -------------------------------------------------------------------------------- /Chapter 9/connection-example/ios_facts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/connection-example/ios_facts.yml -------------------------------------------------------------------------------- /Chapter 9/environment-example/group_vars/bastion_cumulusvx.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/environment-example/group_vars/bastion_cumulusvx.yml -------------------------------------------------------------------------------- /Chapter 9/environment-example/group_vars/bastion_routers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/environment-example/group_vars/bastion_routers.yml -------------------------------------------------------------------------------- /Chapter 9/environment-example/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/Chapter 9/environment-example/hosts -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Practical-Ansible-2/HEAD/README.md --------------------------------------------------------------------------------