X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fauditd.yaml;h=8085ac8be7e4d42efd309d1228b5ea9765531515;hb=82db6ab608b29e455fb2036aeb36537148b97cf9;hp=a0535ae7dd76e3d5f598903825b5b1b67af1eee3;hpb=c992dcf51a3a6ab75eeb9e15c55e03f317f7633c;p=apex-tripleo-heat-templates.git diff --git a/puppet/services/auditd.yaml b/puppet/services/auditd.yaml index a0535ae7..8085ac8b 100644 --- a/puppet/services/auditd.yaml +++ b/puppet/services/auditd.yaml @@ -35,7 +35,7 @@ outputs: upgrade_tasks: - name: Check if auditd is deployed command: systemctl is-enabled auditd - tags: step0,validation + tags: common ignore_errors: True register: auditd_enabled - name: "PreUpgrade step0,validation: Check if auditd is running" @@ -46,4 +46,5 @@ outputs: tags: step0,validation - name: Stop auditd service tags: step2 + when: auditd_enabled.rc == 0 service: name=auditd state=stopped