Merge "Use local python interpreter for keystone cron generator"

This commit is contained in:
Zuul 2019-12-10 11:15:55 +00:00 committed by Gerrit Code Review
commit 8f3e6aca99

View File

@ -172,7 +172,7 @@
- name: Generate the required cron jobs for the node - name: Generate the required cron jobs for the node
command: > command: >
python {{ role_path }}/files/fernet_rotate_cron_generator.py {{ ansible_playbook_python }} {{ role_path }}/files/fernet_rotate_cron_generator.py
-t {{ (fernet_key_rotation_interval | int) // 60 }} -t {{ (fernet_key_rotation_interval | int) // 60 }}
-i {{ groups['keystone'].index(inventory_hostname) }} -i {{ groups['keystone'].index(inventory_hostname) }}
-n {{ (groups['keystone'] | length) }} -n {{ (groups['keystone'] | length) }}