diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml new file mode 100644 index 0000000..de578f5 --- /dev/null +++ b/inventory/group_vars/all.yml @@ -0,0 +1,2 @@ +ansible_pull_branch: main +ntp_server: 0.north-america.pool.ntp.org diff --git a/inventory/group_vars/heath.yml b/inventory/group_vars/heath.yml index 77c0f5a..473a0f4 100644 --- a/inventory/group_vars/heath.yml +++ b/inventory/group_vars/heath.yml @@ -1 +0,0 @@ -ntp_server: 0.north-america.pool.ntp.org diff --git a/inventory/host_vars/iris.heath.hpetersenfamily.com.yml b/inventory/host_vars/iris.heath.hpetersenfamily.com.yml new file mode 100644 index 0000000..87b0e51 --- /dev/null +++ b/inventory/host_vars/iris.heath.hpetersenfamily.com.yml @@ -0,0 +1 @@ +ansible_pull_branch: development diff --git a/scraps/ansible_pull_branch.yml b/scraps/ansible_pull_branch.yml new file mode 100644 index 0000000..5354d56 --- /dev/null +++ b/scraps/ansible_pull_branch.yml @@ -0,0 +1,13 @@ +--- + +- name: dummy + hosts: all + become: no + + tasks: + + + + - name: Display host's value of ansible_pull_branch + ansible.builtin.debug: + var: ansible_pull_branch