[correct]
This commit is contained in:
@@ -44,8 +44,8 @@
|
|||||||
|
|
||||||
- reboot:
|
- reboot:
|
||||||
when:
|
when:
|
||||||
- reboot_needed.stdout == "reboot_needed"
|
|
||||||
- inventory_hostname != 'scaleway'
|
- inventory_hostname != 'scaleway'
|
||||||
|
- reboot_needed.stdout == "reboot_needed"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- uri:
|
- uri:
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
password: "{{ password }}"
|
password: "{{ password }}"
|
||||||
headers:
|
headers:
|
||||||
Title: "update"
|
Title: "update"
|
||||||
ta: "gear"
|
ta: "file_folder"
|
||||||
body: "{{ ansible_play_hosts }}"
|
body: "{{ ansible_play_hosts }}"
|
||||||
status_code: 200
|
status_code: 200
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user