|
|
@ -6,6 +6,7 @@
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
|
|
|
|
become_method: "{{ '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
|
|
|
@ -19,6 +20,7 @@
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
|
|
|
|
become_method: "{{ '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:
|
|
|
@ -39,6 +41,7 @@
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
|
|
|
|
become_method: "{{ '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 }}"
|
|
|
@ -60,6 +63,7 @@
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_exe: "{{ 'sudo' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
become_flags: "{{ '--set-home --stdin --non-interactive' | trim }}"
|
|
|
|
|
|
|
|
become_method: "{{ '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:
|
|
|
|