Checking valid fernet expiry only need to run once
TrivialFix Change-Id: I4e84ac4e51a976ad132aa78b175855bed1d4bb20
This commit is contained in:
parent
bf9e95f317
commit
10bfda6240
@ -44,6 +44,7 @@
|
||||
failed_when: result.stdout | regex_replace('(.*ssh_key.*)', '') | search(":")
|
||||
|
||||
- name: Checking fernet_token_expiry in globals.yml. Update fernet_token_expiry to allowed value if this task fails
|
||||
run_once: true
|
||||
local_action: command grep '^[^#]*fernet_token_expiry:\s*\d*' "{{ CONFIG_DIR }}/globals.yml" | sed 's/[^0-9]*//g'
|
||||
register: result
|
||||
changed_when: false
|
||||
|
Loading…
Reference in New Issue
Block a user