Merge "Ensure container facts are set on container create"
This commit is contained in:
commit
abd3f95257
@ -31,6 +31,10 @@
|
|||||||
delay: "{{ lxc_container_wait_params.delay | default(omit) }}"
|
delay: "{{ lxc_container_wait_params.delay | default(omit) }}"
|
||||||
sleep: "{{ lxc_container_wait_params.sleep | default(omit) }}"
|
sleep: "{{ lxc_container_wait_params.sleep | default(omit) }}"
|
||||||
timeout: "{{ lxc_container_wait_params.timeout | default(omit) }}"
|
timeout: "{{ lxc_container_wait_params.timeout | default(omit) }}"
|
||||||
|
- name: Set local facts for new container(s)
|
||||||
|
setup:
|
||||||
|
filter: ansible_local
|
||||||
|
gather_subset: "!all"
|
||||||
vars:
|
vars:
|
||||||
is_metal: "{{ properties.is_metal|default(false) }}"
|
is_metal: "{{ properties.is_metal|default(false) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user