|
|
@ -4,6 +4,7 @@
|
|
|
|
# FIXME Resetting the connection shouldn't require credentials
|
|
|
|
# FIXME Resetting the connection shouldn't require credentials
|
|
|
|
# https://github.com/mitogen-hq/mitogen/issues/1132
|
|
|
|
# https://github.com/mitogen-hq/mitogen/issues/1132
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_user: "{{ 'root' | trim }}"
|
|
|
|
become_user: "{{ 'root' | trim }}"
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- name: Reset connection to target that will be delegate_to
|
|
|
|
- name: Reset connection to target that will be delegate_to
|
|
|
@ -15,6 +16,7 @@
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- name: Templated become by task keywords, with delegate_to
|
|
|
|
- name: Templated become by task keywords, with delegate_to
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_user: "{{ 'root' | trim }}"
|
|
|
|
become_user: "{{ 'root' | trim }}"
|
|
|
|
delegate_to: "{{ groups.tt_become_bare[0] }}"
|
|
|
|
delegate_to: "{{ groups.tt_become_bare[0] }}"
|
|
|
|
command:
|
|
|
|
command:
|
|
|
@ -33,6 +35,7 @@
|
|
|
|
# FIXME Resetting the connection shouldn't require credentials
|
|
|
|
# FIXME Resetting the connection shouldn't require credentials
|
|
|
|
# https://github.com/mitogen-hq/mitogen/issues/1132
|
|
|
|
# https://github.com/mitogen-hq/mitogen/issues/1132
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_user: "{{ 'mitogen__pw_required' | trim }}"
|
|
|
|
become_user: "{{ 'mitogen__pw_required' | trim }}"
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
ansible_become_pass: "{{ 'pw_required_password' | trim }}"
|
|
|
|
ansible_become_pass: "{{ 'pw_required_password' | trim }}"
|
|
|
@ -52,6 +55,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Templated become by task keywords, with delegate_to
|
|
|
|
- name: Templated become by task keywords, with delegate_to
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_user: "{{ 'mitogen__pw_required' | trim }}"
|
|
|
|
become_user: "{{ 'mitogen__pw_required' | trim }}"
|
|
|
|
delegate_to: "{{ groups.tt_become_bare[0] }}"
|
|
|
|
delegate_to: "{{ groups.tt_become_bare[0] }}"
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|