I
Size: a a a
I
PT
PT
PT
BECOME_ALLOW_SAME_USER
Description
This setting controls if become is skipped when remote user and become user are the same. I.E root sudo to root.
Можно пояснить это параметр? Как я понял удаленный пользователь и локальный пользователь становятся одним. Решит ли это мою проблему на ограничение привилегий?VC
BECOME_ALLOW_SAME_USER
Description
This setting controls if become is skipped when remote user and become user are the same. I.E root sudo to root.
Можно пояснить это параметр? Как я понял удаленный пользователь и локальный пользователь становятся одним. Решит ли это мою проблему на ограничение привилегий?PT
VC
PT
VC
VC
PT
PT
VC
PT
root@work:/etc/ansible# ansible-playbook update_clients.yml -vvvv...
ansible-playbook 2.10.1
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
Using /etc/ansible/ansible.cfg as config file
BECOME password:
setting up inventory plugins
PT
PT
[privilege_escalation]в плейбуке:
become_ask_pass=True
become: yesИ все дела. Всё заработало.
К
I
К