2021-01-31 09:04:46 +00:00
|
|
|
---
|
2023-02-27 16:07:27 +00:00
|
|
|
- name: Reload firewalld
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: firewalld
|
|
|
|
state: reloaded
|
|
|
|
ignore_errors: "{{ ansible_check_mode }}"
|
2023-02-28 03:22:12 +00:00
|
|
|
|
|
|
|
- name: Restart openQA workers
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: "openqa-worker@{{ item }}"
|
|
|
|
state: restarted
|
|
|
|
enabled: true
|
|
|
|
# range "end" parameter is exclusive, so add 1
|
|
|
|
loop: "{{ range(1, (openqa_worker_count | int + 1)) | list }}"
|
|
|
|
ignore_errors: "{{ ansible_check_mode }}"
|