roles: Remove unreachable "packages" tags

After reörganizing for dynamic includes these tags will never be reached
because the children of dynamic includes do not inherit tags from their
parents as they did with static imports.
This commit is contained in:
Alan Orth 2018-04-26 16:31:06 +03:00
parent 1738507ee9
commit 7d950ade99
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 2 additions and 14 deletions

View File

@ -5,9 +5,7 @@
loop: loop:
- firewalld - firewalld
- tidy - tidy
tags: tags: firewall
- packages
- firewall
- name: Copy firewalld public zone file - name: Copy firewalld public zone file
when: ansible_distribution_major_version is version_compare('8', '>=') when: ansible_distribution_major_version is version_compare('8', '>=')

View File

@ -5,9 +5,7 @@
loop: loop:
- firewalld - firewalld
- tidy - tidy
tags: tags: firewall
- packages
- firewall
- name: Copy firewalld public zone file - name: Copy firewalld public zone file
when: ansible_distribution_version is version_compare('15.04', '>=') when: ansible_distribution_version is version_compare('15.04', '>=')

View File

@ -15,11 +15,9 @@
- name: Uninstall ntp on modern Ubuntu/Debian - name: Uninstall ntp on modern Ubuntu/Debian
apt: name=ntp state=absent update_cache=yes apt: name=ntp state=absent update_cache=yes
when: ansible_service_mgr == 'systemd' when: ansible_service_mgr == 'systemd'
tags: packages
- name: Install ntp on old Ubuntu/Debian - name: Install ntp on old Ubuntu/Debian
apt: name=ntp state=present update_cache=yes apt: name=ntp state=present update_cache=yes
when: ansible_service_mgr != 'systemd' when: ansible_service_mgr != 'systemd'
tags: packages
# vim: set ts=2 sw=2: # vim: set ts=2 sw=2:

View File

@ -17,20 +17,14 @@
- name: Install certbot dependencies (Ubuntu 16.04) - name: Install certbot dependencies (Ubuntu 16.04)
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('16.04', '==') when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('16.04', '==')
apt: name={{ letsencrypt_deps_ubuntu_xenial }} state=present update_cache=yes apt: name={{ letsencrypt_deps_ubuntu_xenial }} state=present update_cache=yes
tags:
- packages
- name: Install certbot dependencies (Ubuntu 18.04) - name: Install certbot dependencies (Ubuntu 18.04)
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==') when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==')
apt: name={{ letsencrypt_deps_ubuntu_bionic }} state=present update_cache=yes apt: name={{ letsencrypt_deps_ubuntu_bionic }} state=present update_cache=yes
tags:
- packages
- name: Install certbot dependencies (Debian 9) - name: Install certbot dependencies (Debian 9)
when: ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare('9', '==') when: ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare('9', '==')
apt: name={{ letsencrypt_deps_debian_stretch }} state=present update_cache=yes apt: name={{ letsencrypt_deps_debian_stretch }} state=present update_cache=yes
tags:
- packages
tags: letsencrypt tags: letsencrypt
# vim: set ts=2 sw=2: # vim: set ts=2 sw=2: