Skip to content

Commit

Permalink
replaced 'always' tags (fix #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Nov 28, 2023
1 parent 8cb8d59 commit 9ee64f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/check_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: NFTables | Check | Kernel config
ansible.builtin.import_tasks: check_debian_kernel_config.yml
tags: always
tags: [config, purge]
when: >
ansible_virtualization_role is undefined or
ansible_virtualization_role != 'guest' or
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- NFT_CONFIG.tables | length > 0
- NFT_CONFIG.tables[NFT_CONFIG.tables | list | first]['chains'] | default([]) | length > 0
- not NFT_CONFIG.ext.startswith('.')
tags: always
tags: [config, purge]

- name: NFTables | Pulling info on installed packages
ansible.builtin.package_facts:
Expand Down
2 changes: 1 addition & 1 deletion tasks/table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- nft_table.type in NFT_HC.choices.table.types
ignore_errors: true
register: nft_config_check_table
tags: always
tags: [config, purge]

- name: "NFTables | Table '{{ nft_table_name }}' | Informing user"
ansible.builtin.fail:
Expand Down

0 comments on commit 9ee64f9

Please sign in to comment.