|
|
|
|
@ -21,13 +21,13 @@ |
|
|
|
|
ignore_errors: yes |
|
|
|
|
delegate_to: localhost |
|
|
|
|
|
|
|
|
|
- name: Clear gathered facts from all currently targeted hosts |
|
|
|
|
ansible.builtin.meta: clear_facts |
|
|
|
|
|
|
|
|
|
- name: set ansible_user |
|
|
|
|
set_fact: |
|
|
|
|
ansible_ssh_user: "{{ ansible_user }}" |
|
|
|
|
when: connection_test is succeeded |
|
|
|
|
|
|
|
|
|
- name: Clear gathered facts from all currently targeted hosts |
|
|
|
|
ansible.builtin.meta: clear_facts |
|
|
|
|
|
|
|
|
|
- name: reload facts |
|
|
|
|
setup: |
|
|
|
|
|