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

0 votes
Jul 21, 2020 in Ansible by M
• 150 points
1,921 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,460 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
3,173 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
4,162 views
0 votes
1 answer
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
1,210 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,460 points
1,146 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,460 points
2,745 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP