From: Andrew Schoen Date: Wed, 3 Feb 2016 17:27:16 +0000 (-0600) Subject: Adds a package-install tag to all installation tasks X-Git-Tag: v1.0.0~49^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=df7c8da0e9107d567abd0d2a0336b45393a4106a;p=ceph-ansible.git 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 --- diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index aa844e414..f01a52f5a 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -10,34 +10,48 @@ - include: ./pre_requisites/prerequisite_ice.yml when: ceph_stable_ice + tags: + - package-install - include: ./pre_requisites/prerequisite_rh_storage_iso_install.yml when: ceph_stable_rh_storage and ceph_stable_rh_storage_iso_install + tags: + - package-install - include: ./pre_requisites/prerequisite_rh_storage_cdn_install.yml when: ceph_stable_rh_storage and ceph_stable_rh_storage_cdn_install + tags: + - package-install - include: ./installs/install_on_redhat.yml when: ansible_os_family == 'RedHat' + tags: + - package-install - include: ./installs/install_on_debian.yml when: ansible_os_family == 'Debian' + tags: + - package-install - include: ./installs/install_rgw_on_redhat.yml when: ansible_os_family == 'RedHat' and radosgw_frontend == 'apache' and rgw_group_name in group_names + tags: + - package-install - include: ./installs/install_rgw_on_debian.yml when: ansible_os_family == 'Debian' and radosgw_frontend == 'apache' and rgw_group_name in group_names + tags: + - package-install # NOTE (leseb): be careful with the following # somehow the YAML syntax using "is_ceph_infernalis: {{"