From eef7c0fa1f07dde0ae01803bcda92d40fe743da8 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 14 Apr 2024 21:39:24 +0200 Subject: bugfix: 'order: inventory' is the way to go --- patch.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/patch.yaml b/patch.yaml index 2ed2ea5..e9159f7 100644 --- a/patch.yaml +++ b/patch.yaml @@ -2,9 +2,7 @@ # You may want to change the default to your favourite host (group) you run this on the most. - name: Arrange Inventory hosts: "{{ rthosts | default('CHANGE_ME') }}" - # Change: "inventory" now became "default". "inventory" is being frowned upon by ansible-lint. - # (At least until "default" behaviour changes again in the future, I assume :-) ) - order: default + order: inventory gather_facts: false # default: all in first step, but that shit requires (int) serial: 666 @@ -21,7 +19,7 @@ - always - name: Trigger Debian patching role on Debian hosts hosts: adfv_debian - order: default + order: inventory gather_facts: false # default: all in first step, but that shit requires (int) serial: 666 @@ -33,7 +31,7 @@ - debian - name: Trigger Red Hat patching role on Red Hat hosts hosts: adfv_redhat - order: default + order: inventory gather_facts: false # default: all in first step, but that shit requires (int) serial: 666 @@ -45,7 +43,7 @@ - redhat - name: Trigger SUSE patching role on SUSE hosts hosts: adfv_suse - order: default + order: inventory gather_facts: false # default: all in first step, but that shit requires (int) serial: 666 -- cgit v1.2.3