Trivial: Add connection: local for keystone-fernet cron generate task
This patch add connection local for above mentioned task as kolla-ansible can be executed in docker container as in my case. When there is no connection: local, ansible is trying to connect to localhost via ssh where specified python script is not available. After connection: local everything is working as expected as file is found inside container Closes-Bug: #2004224 Change-Id: I219a958b4f101efb71a2935e6d910dae5c65f0be
This commit is contained in:
parent
66ec9cef55
commit
78cf9585b7
@ -200,6 +200,7 @@
|
|||||||
-n {{ (groups['keystone'] | length) }}
|
-n {{ (groups['keystone'] | length) }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: cron_jobs_json
|
register: cron_jobs_json
|
||||||
|
connection: local
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: Set fact with the generated cron jobs for building the crontab later
|
- name: Set fact with the generated cron jobs for building the crontab later
|
||||||
|
6
releasenotes/notes/bug-2004224-0e600c99f8e5b83f.yaml
Normal file
6
releasenotes/notes/bug-2004224-0e600c99f8e5b83f.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes keystone's task which is connecting via ssh instead
|
||||||
|
locally.
|
||||||
|
`LP#2004224 <https://launchpad.net/bugs/2004224>`__
|
Loading…
x
Reference in New Issue
Block a user