playbooks: roles: Drop explicit 'delegate_to' options
Bifrost instructions suggest to use 'connection: local' when calling any of the roles. However, there are scenarios which the roles can be delegated to some other host. The explicit 'delegate_to' statements prevent us from doing that and they are not necessary if we use 'connection: local' anyway. As such we drop the explicit statements to make the roles a bit more flexible. Change-Id: Ifc983992125d203899d74b8bf997f9f58f528978
This commit is contained in:
parent
db48dfa168
commit
fab12fe57a
@ -100,5 +100,4 @@
|
|||||||
root_gb: 10
|
root_gb: 10
|
||||||
wait: "{{ wait_for_node_deploy }}"
|
wait: "{{ wait_for_node_deploy }}"
|
||||||
timeout: " {{ wait_timeout | default(1800) }}"
|
timeout: " {{ wait_timeout | default(1800) }}"
|
||||||
delegate_to: localhost
|
|
||||||
when: instance_info is not defined or ( instance_info is defined and instance_info | to_json == '{}' )
|
when: instance_info is not defined or ( instance_info is defined and instance_info | to_json == '{}' )
|
||||||
|
@ -43,4 +43,3 @@
|
|||||||
name: "{{ name | default() }}"
|
name: "{{ name | default() }}"
|
||||||
state: absent
|
state: absent
|
||||||
instance_info: "{}"
|
instance_info: "{}"
|
||||||
delegate_to: localhost
|
|
||||||
|
@ -45,4 +45,3 @@
|
|||||||
state: absent
|
state: absent
|
||||||
nics: "{{ nics }}"
|
nics: "{{ nics }}"
|
||||||
driver_info: "{}"
|
driver_info: "{}"
|
||||||
delegate_to: localhost
|
|
||||||
|
Loading…
Reference in New Issue
Block a user