From d8a7729358a2fd3b911022e45d0197fda3e5da94 Mon Sep 17 00:00:00 2001 From: boom2 Date: Fri, 8 Dec 2023 14:12:33 -0500 Subject: - add exeriments for: - roles - variables - inventory changes - config changes --- ansible-practice/system/04-playbook-bash-configs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ansible-practice/system/04-playbook-bash-configs.yml (limited to 'ansible-practice/system/04-playbook-bash-configs.yml') diff --git a/ansible-practice/system/04-playbook-bash-configs.yml b/ansible-practice/system/04-playbook-bash-configs.yml new file mode 100644 index 0000000..99da687 --- /dev/null +++ b/ansible-practice/system/04-playbook-bash-configs.yml @@ -0,0 +1,12 @@ +# - makes use of 'roles' +# - experimenting w/ including variable files +# - this only works when we create a '/vars' directory w/ our variables in it + +--- +- hosts: all +#- hosts: localhost +# connection: local + vars_files: + - [ "vars/{{ inventory_hostname }}.yml", "vars/otherhosts.yml" ] + roles: + - bash_config_old -- cgit v1.2.3-54-g00ecf