mitogen icon indicating copy to clipboard operation
mitogen copied to clipboard

ask-become-pass broken

Open badfiles opened this issue 1 year ago • 1 comments

sudo password is not passed to server mitogen from master

$ ansible-playbook --ask-become-pass --vault-password-file=~/avpass --tags=nginx *.yml 
BECOME password: 

PLAY [* Server] ****************************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************************
fatal: [*]: FAILED! => {"msg": "error occurred on host *: sudo password is required"}
ansible [core 2.13.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/*/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible
  ansible collection location = /home/*/dev/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0]
  jinja version = 3.1.1
  libyaml = True

badfiles avatar Jul 25 '22 18:07 badfiles

I stumbled upon this issue too. The last working state is commit ad4b6868, so the problematic one is probably the next commit f1503874

krushik avatar Aug 04 '22 18:08 krushik