Skip to content

Commit

Permalink
Use ansible strategy free by default everywhere (#338)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt authored Dec 4, 2023
1 parent b54e07d commit 1c9df62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions playbooks/generic/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
ignore_unreachable: true
hosts: state_bootstrap_False
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

roles:
- role: osism.commons.hostname
Expand Down Expand Up @@ -74,7 +74,7 @@
ignore_unreachable: true
hosts: state_bootstrap_False
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

tasks:
- name: Include hardening role
Expand All @@ -88,7 +88,7 @@
ignore_unreachable: true
hosts: state_bootstrap_False
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

tasks:
- name: Include auditd role
Expand Down
8 changes: 4 additions & 4 deletions playbooks/generic/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
- name: Apply maintenance roles part 1
hosts: reachable
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

roles:
- role: osism.commons.hostname
Expand Down Expand Up @@ -93,7 +93,7 @@
- name: Apply maintenance roles part 2
hosts: reachable
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

tasks:
- name: Include hardening role
Expand All @@ -106,7 +106,7 @@
- name: Apply maintenance roles part 3
hosts: reachable
serial: "{{ osism_serial_default | default(0) }}"
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

tasks:
- name: Include auditd role
Expand All @@ -121,7 +121,7 @@
hosts: reachable
serial: "{{ osism_serial_default | default(0) }}"
gather_facts: false
strategy: "{{ osism_strategy | default('free') }}"
strategy: "{{ osism_strategy | default('linear') }}"

vars:
state_maintenance_status: "False"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Use linear as default Ansible strategy everywhere. This avoids especially issue
in ARA.

0 comments on commit 1c9df62

Please sign in to comment.