0639
This commit is contained in:
@@ -13,12 +13,14 @@
|
||||
hosts: all
|
||||
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:
|
||||
- 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"
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
|
||||
Reference in New Issue
Block a user