[correct]

This commit is contained in:
2024-08-27 23:59:30 +02:00
parent eab3868a3a
commit 8c2aad158e

View File

@@ -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