Skip to content

Commit

Permalink
Merge branch 'main' into issue4-fix-handling-of-multiple-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Nov 14, 2024
2 parents 61903a6 + e360640 commit 6bb2fd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
with_items: "{{ opn_plugins_remove }}"
loop_control:
pause: "{{ opn_plugpack_sleep }}"
register: opnsense_plugpack__register_remove_opnsense_plugins

- name: give the process some time for settling ...
ansible.builtin.pause:
seconds: "{{ opn_plugpack_sleep }}"
when: opnsense_plugpack__register_remove_opnsense_plugins.changed # noqa no-handler

- name: install opnsense plugins
ansible.builtin.command:
Expand All @@ -19,19 +21,23 @@
with_items: "{{ opn_plugins | default([]) }}"
loop_control:
pause: "{{ opn_plugpack_sleep }}"
register: opnsense_plugpack__register_install_opnsense_plugins

- name: give the process some time for settling ...
ansible.builtin.pause:
seconds: "{{ opn_plugpack_sleep }}"
when: opnsense_plugpack__register_install_opnsense_plugins.changed # noqa no-handler

- name: purge opnsense pkg
community.general.pkgng:
name: "{{ opn_packages_remove }}"
state: absent
register: opnsense_plugpack__register_purge_opnsense_pkg

- name: give the process some time for settling ...
ansible.builtin.pause:
seconds: "{{ opn_plugpack_sleep }}"
when: opnsense_plugpack__register_purge_opnsense_pkg.changed # noqa no-handler

- name: install opnsense pkg
community.general.pkgng:
Expand Down

0 comments on commit 6bb2fd6

Please sign in to comment.