Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Uncomment pre_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Oct 20, 2023
1 parent a63cbbf commit c1c697f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions molecule/resources/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
- name: Converge
hosts: all
gather_facts: true
# pre_tasks:
# - name: Wait for systemd to complete initialization. # noqa command-instead-of-module
# ansible.builtin.command: systemctl is-system-running
# register: systemctl_status
# until: >
# 'running' in systemctl_status.stdout or
# 'degraded' in systemctl_status.stdout
# retries: 30
# delay: 5
# when: ansible_service_mgr == 'systemd'
# changed_when: false
# failed_when: systemctl_status.rc > 0
pre_tasks:
- name: Wait for systemd to complete initialization. # noqa command-instead-of-module
ansible.builtin.command: systemctl is-system-running
register: systemctl_status
until: >
'running' in systemctl_status.stdout or
'degraded' in systemctl_status.stdout
retries: 30
delay: 5
when: ansible_service_mgr == 'systemd'
changed_when: false
failed_when: systemctl_status.rc > 0

tasks:
- name: Include ansible-role-firewalld
Expand Down

0 comments on commit c1c697f

Please sign in to comment.