0639
This commit is contained in:
@@ -13,12 +13,14 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
|
||||||
- debug:
|
|
||||||
msg:
|
|
||||||
- "host nb_ok={{ nb_ok | default('UNDEF') }}, nb_ip={{ nb_ip | default('UNDEF') }}"
|
|
||||||
- "localhost nb_ok={{ hostvars['localhost'].nb_ok | default('UNDEF') }}, nb_ip={{ hostvars['localhost'].nb_ip | default('UNDEF') }}"
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: "Wrapper | Debug where iponly facts live"
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg:
|
||||||
|
- "host nb_ok={{ nb_ok | default('UNDEF') }}, nb_ip={{ nb_ip | default('UNDEF') }}"
|
||||||
|
- "localhost nb_ok={{ hostvars['localhost'].nb_ok | default('UNDEF') }}, nb_ip={{ hostvars['localhost'].nb_ip | default('UNDEF') }}"
|
||||||
|
|
||||||
- name: "Wrapper | Assert iponly succeeded"
|
- name: "Wrapper | Assert iponly succeeded"
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
|
|||||||
Reference in New Issue
Block a user