You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
453 B
YAML
19 lines
453 B
YAML
4 years ago
|
---
|
||
|
|
||
|
- name: Set variables for shifting back
|
||
|
set_fact:
|
||
|
bootstrap_used: no
|
||
|
ansible_user: '{{ bootstrap_expected_user }}'
|
||
|
ansible_become_pass: '{{ bootstrap_expected_become_pass }}'
|
||
|
|
||
|
- name: Reset connection to remove privileged user
|
||
|
meta: reset_connection
|
||
|
|
||
|
- name: Kill processes associated with the temporary privileged user
|
||
|
command: >-
|
||
|
/usr/bin/killall
|
||
|
--quiet
|
||
|
--wait
|
||
|
--user {{ bootstrap_user }}
|
||
|
changed_when: false
|