mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 15:47:21 +00:00
Adjust structure of playbook
This commit is contained in:
1 parent
da0f3aa8c5
commit
e2b5fab14f
2 files changed
+13
-12
No files matched your search
@@ -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
|
||||||
|
|
||||||
@@ -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
|
||||||
|
|
||||||
Reference in new issue
Block a user