Remove tags from upgrade tasks for aide.yml.

After merging [0], the step for each upgrade_task
is now handled in a 'when' condition. This patch
changes all the 'tags:' in upgrade_tasks to their
corresponding 'when:' statement.

[0] https://review.openstack.org/#/c/510902/

Change-Id: Id740f69db8ea4ba883a90d9f70a705640c3855d4
This commit is contained in:
Jose Luis Franco Arza 2018-01-25 09:03:24 +01:00 committed by Jose Luis Franco
parent 18cb9e067f
commit 0845f02e44
1 changed files with 3 additions and 3 deletions

View File

@ -85,12 +85,12 @@ outputs:
include ::tripleo::profile::base::aide
upgrade_tasks:
- name: Ensure Aide is installed
tags: step4
when: step|int == 4
yum: name=aide state=latest
- name: re-init database
tags: step5
when: step|int == 5
shell: aide --init --config $(hiera tripleo::profile::base::aide::aide_conf_path)
- name: cp-new-aide-db
tags: step5
when: step|int == 5
shell: /bin/cp -f $(hiera tripleo::profile::base::aide::aide_db_temp_path) $(hiera tripleo::profile::base::aide::aide_db_path)