Adjust structure of playbook

This commit is contained in:
abrown38 committed 2024-08-05 11:39:36 +01:00
1 parent da0f3aa8c5
commit e2b5fab14f
2 files changed
+13 -12

No files matched your search

+6 -6
View File
@@ -1,10 +1,10 @@
--- ---
- name: Reboot VMs and log time - hosts: "{{ target_host }}"
hosts: "{{ target_host }}"
gather_facts: true gather_facts: true
roles:
- reboot
vars_files: vars_files:
- ../vars/vars.yml
- ../vars/connection.yml
- ../vars/common.yml - ../vars/common.yml
- ../vars/connection.yml
roles:
- role: win_reboot
tags: win_reboot
+7 -6
View File
@@ -1,9 +1,10 @@
- name: Running Update Playbook ---
hosts: '{{ target_host }}' - hosts: "{{ target_host }}"
gather_facts: true gather_facts: true
roles:
- update
vars_files: vars_files:
- ../vars/vars.yml
- ../vars/connection.yml
- ../vars/common.yml - ../vars/common.yml
- ../vars/connection.yml
roles:
- role: win_update
tags: win_update