Merge "Use local python interpreter for keystone cron generator"
This commit is contained in:
commit
8f3e6aca99
@ -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) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user