Adds a package-install tag to all installation tasks

We have a requirement to install the packages first without
configuration. These tags should allow us to target the tasks need to do
that.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/514/head
Andrew Schoen 2016-02-03 11:27:16 -06:00
parent b37443dd97
commit df7c8da0e9
1 changed files with 14 additions and 0 deletions

View File

@ -10,34 +10,48 @@
- include: ./pre_requisites/prerequisite_ice.yml - include: ./pre_requisites/prerequisite_ice.yml
when: ceph_stable_ice when: ceph_stable_ice
tags:
- package-install
- include: ./pre_requisites/prerequisite_rh_storage_iso_install.yml - include: ./pre_requisites/prerequisite_rh_storage_iso_install.yml
when: when:
ceph_stable_rh_storage and ceph_stable_rh_storage and
ceph_stable_rh_storage_iso_install ceph_stable_rh_storage_iso_install
tags:
- package-install
- include: ./pre_requisites/prerequisite_rh_storage_cdn_install.yml - include: ./pre_requisites/prerequisite_rh_storage_cdn_install.yml
when: when:
ceph_stable_rh_storage and ceph_stable_rh_storage and
ceph_stable_rh_storage_cdn_install ceph_stable_rh_storage_cdn_install
tags:
- package-install
- include: ./installs/install_on_redhat.yml - include: ./installs/install_on_redhat.yml
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
tags:
- package-install
- include: ./installs/install_on_debian.yml - include: ./installs/install_on_debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
tags:
- package-install
- include: ./installs/install_rgw_on_redhat.yml - include: ./installs/install_rgw_on_redhat.yml
when: when:
ansible_os_family == 'RedHat' and ansible_os_family == 'RedHat' and
radosgw_frontend == 'apache' and radosgw_frontend == 'apache' and
rgw_group_name in group_names rgw_group_name in group_names
tags:
- package-install
- include: ./installs/install_rgw_on_debian.yml - include: ./installs/install_rgw_on_debian.yml
when: when:
ansible_os_family == 'Debian' and ansible_os_family == 'Debian' and
radosgw_frontend == 'apache' and radosgw_frontend == 'apache' and
rgw_group_name in group_names rgw_group_name in group_names
tags:
- package-install
# NOTE (leseb): be careful with the following # NOTE (leseb): be careful with the following
# somehow the YAML syntax using "is_ceph_infernalis: {{" # somehow the YAML syntax using "is_ceph_infernalis: {{"