Become yes is not working while running ansible playbook from Jenkins pipeline job

0 votes
Jul 20, 2020 in Ansible by M
• 150 points
464 views

1 answer to this question.

0 votes

Hi,

Jenkins will not able to run the playbook if it will ask yes/no at run time. You need to allow yes in your configuration file by default. So when Jenkins tries to run the playbook, it can run automatically.

answered Jul 21, 2020 by MD
• 95,040 points

Related Questions In Ansible

0 votes
1 answer

Ansible playbook with jenkins not working

When you execute the playbook under Jenkins, ...READ MORE

answered Jan 17, 2019 in Ansible by Sameer
796 views
0 votes
1 answer

Permission denied when running ansible playbook through jenkins

Jenkins uses it's own user to execute ...READ MORE

answered Jun 25, 2018 in Ansible by DareDev
• 6,890 points
1,771 views
0 votes
1 answer
0 votes
1 answer

Error saying script is already running - Ansible playbook error

Remove the previous processes before running this ...READ MORE

answered Feb 8, 2019 in Ansible by Dee
313 views
0 votes
1 answer

How to delete a key pair in AWS from Ansible-Playbook?

Hi@akhtar, You can use the ec2_key module in ...READ MORE

answered Aug 12, 2020 in Ansible by MD
• 95,040 points
97 views
0 votes
1 answer

Is it possible to start ec2 Windows machine and run windows command using ansible playbook?

Hi@Lakshminarayanan, Yes, you can do that. But after ...READ MORE

answered Aug 14, 2020 in Ansible by MD
• 95,040 points
404 views