Fix minor Ansible syntax

Change-Id: Ic4a2faee555d88f6300e701df1f9a0a7ef0c6e8f
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2019-01-15 12:49:20 +01:00
parent abdd15f77d
commit b1a204a4b9
1 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,10 @@
shell: 'docker exec keystone_cron crontab -l -u keystone |grep -v "^#"'
register: cron_result
changed_when: False
-
name: Check keystone crontab
fail: msg="keystone token_flush does not appear to be enabled via cron. You should add '<desired interval > {{ cron_check }}' to the keystone users crontab."
- name: Check keystone crontab
fail:
msg: >-
keystone token_flush does not appear to be enabled via cron. You should
add '<desired interval > {{ cron_check }}' to the keystone users
crontab.
failed_when: "cron_check not in cron_result.stdout"