Most voted questions in Ansible

0 votes
1 answer

How to give a task name in Ansible?

Hi@akhtar, You can give the task name in ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
5,325 views
0 votes
1 answer

How to capture the output of a task in Ansible Playbook?

Hi@akhtar, Ansible registers module used to capture/store the ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
14,428 views
0 votes
1 answer

How to create a variable in Ansible Playbook?

Hi@akhtar, Variable in playbooks are very similar to using variables in ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
1,079 views
0 votes
1 answer

FAILED! => {"changed": false, "msg": "src and content are mutually exclusive"}

Hi@akhtar, You can't use content and src argument ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
2,777 views
0 votes
1 answer

How to overwrite the content of a file in remote systems using Ansible playbook?

Hi@akhtar, You can find one argument in the ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
13,408 views
0 votes
1 answer

How to create a group of Managed Nodes in Ansible?

Hi@akhtar, You can use tags in your inventory ...READ MORE

Aug 1, 2020 in Ansible by MD
• 95,440 points
1,002 views
0 votes
1 answer

How to configure httpd web server using Ansible Playbook?

Hi@akhtar, You need to write one program file ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,440 points
3,017 views
0 votes
1 answer

How to start httpd service in a remote system using Ansible?

Hi@akhtar, Ansible has a module named service. This ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,440 points
2,954 views
0 votes
1 answer

How to copy files in remote system using Ansible?

Hi@akhtar, You need to use the copy module ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,440 points
2,115 views
0 votes
1 answer

How to install httpd web server in remote node using Ansible?

Hi@akhtar, You need to use the package module in Ansible. ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,440 points
2,243 views
0 votes
1 answer

"msg": "Failed to connect to the host via ssh: ssh: connect to host 192.168.0.179 port 22: Connection timed out",

Hi@akhtar, I think there is a problem with ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
7,867 views
0 votes
1 answer

No match for argument: sshpass Error: Unable to find a match

Hi@akhtar, The sshpass software is not part of ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
7,635 views
0 votes
1 answer

FAILED! => { "msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"

Hi@akhtar, Ansible needs extra software to run commands ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
10,779 views
0 votes
1 answer

"msg": "Failed to connect to the host via ssh: root@192.168.0.179: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).",

Hi@akhtar, You need to pass the username and ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
15,681 views
0 votes
1 answer

Error reading config file (/etc/ansible/ansible.cfg): File contains no section headers.

Hi@akhtar, You need to add one tag in ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
14,213 views
0 votes
1 answer

How to list down all the hosts in Ansible?

Hi@akhtar, You can use the option --list-hosts. It will ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
44,008 views
0 votes
1 answer

bash: ansible: command not found. Failed to search for file: Cannot update read-only repo

Hi@akhtar, By default, Ansible is not part of ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
10,395 views
0 votes
1 answer

How to install Ansible in Linux system?

Hi@akhtar, To install Ansible in your Linux system, ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
733 views
0 votes
1 answer

No match for argument: ansible Error: Unable to find a match

Hi@akhtar, Ansible is not part of your RedHat ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
14,241 views
0 votes
1 answer

ansible ssh and user module issue with edureka VM

Hi@Konakanchl, I guess you need to give your ...READ MORE

Jul 23, 2020 in Ansible by akhtar
• 38,230 points
2,281 views
0 votes
1 answer

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

Hi, Jenkins will not able to run the ...READ MORE

Jul 21, 2020 in Ansible by MD
• 95,440 points
1,583 views
0 votes
1 answer

Unable to install packages through Ansible

Hi, Try to ping your all nodes. There ...READ MORE

Jul 15, 2020 in Ansible by MD
• 95,440 points
1,244 views
0 votes
0 answers

Set up the necessary tools such as git, chromedriver(selenium), chromium browser(selenium) on the slave node through Ansible [closed]

Going through the Devops project. There is ...READ MORE

Feb 9, 2020 in Ansible by anonymous
• 130 points

closed Feb 14, 2020 by Sirajul 1,309 views
0 votes
1 answer

Ansible playbook to check if http support for apt is installed

Hi @Hannah, this ansible task should do ...READ MORE

Nov 25, 2019 in Ansible by Aria
802 views
0 votes
1 answer

Ansible task to check if PGP key is installed on Ubuntu

Hi @hannah, have a look at this, ...READ MORE

Nov 25, 2019 in Ansible by Aria
905 views
0 votes
1 answer

Can Ansible replace Jenkins?

Ansible is a configuration management tool whereas ...READ MORE

Nov 15, 2019 in Ansible by Eric
1,777 views
0 votes
1 answer

How do I check uptime on hundreds of servers using Ansible?

You need an Ansible box for this, ...READ MORE

Nov 15, 2019 in Ansible by Eric
12,318 views
0 votes
1 answer

logic that creates or removes a Liberty server at the runtime - Ansible for WebSphere deployment

You can use the ansible module called ...READ MORE

Oct 30, 2019 in Ansible by Tanya
763 views
0 votes
1 answer

Ansible playbook to start or stops a Liberty Profile server in WebSphere deployment

Check this out: - name: Start liberty_server: ...READ MORE

Oct 30, 2019 in Ansible by Tanya
1,740 views
0 votes
1 answer

ansible playbook to start and stop a WebSphere application

The below playbook should be good enough: - ...READ MORE

Oct 30, 2019 in Ansible by Tanya
6,332 views
0 votes
1 answer

ansible playbook to create and remove a WebSphere Application Server Node Agent profile

This should workout: - name: Create profile_nodeagent: ...READ MORE

Oct 30, 2019 in Ansible by Tanishq
956 views
0 votes
1 answer

Ansible playbook to install and update the IBM packages from local or remote repositories

Hi @Hannah, I have this and it ...READ MORE

Oct 30, 2019 in Ansible by Tanmay
2,916 views
0 votes
1 answer

ansible playbook that installs or uninstalls IBM Installation Manager

have a look at this ansible-playbook. It ...READ MORE

Oct 30, 2019 in Ansible by Yesha
1,153 views
0 votes
1 answer

Variables needed to write ansible playbook to install Mysql and mariadb on ubuntu

You need three main variables, one to ...READ MORE

Oct 24, 2019 in Ansible by Bob
1,808 views
0 votes
1 answer

Requirements to install MySQL and MariaDB on ubuntu - Ansible

You don't really need anything specific. Just ...READ MORE

Oct 24, 2019 in Ansible by Bob
529 views
0 votes
0 answers

How to write a playbook for websphere deployment?

Oct 19, 2019 in Ansible by Rajendra
• 510 points
743 views
0 votes
1 answer

I am trying to installing an ubuntu instance hosted in Vultr. Apparently my SSL certificate is failing.

The cert.pem file is a somehow moving to ...READ MORE

Oct 15, 2019 in Ansible by Yogesh

edited Oct 15, 2019 1,411 views
0 votes
1 answer

Ansible error "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)"

That means you do not have the ...READ MORE

Oct 15, 2019 in Ansible by Yogesh
12,687 views
0 votes
0 answers

what is the difference between tags and delegate_to in ansible? [closed]

Sep 23, 2019 in Ansible by Rajendra
• 510 points

closed Sep 24, 2019 by Kalgi 628 views
0 votes
1 answer

what is the difference between tags and delegate_to in ansible?

Hey @Rajendra, If you wish to perform ...READ MORE

Sep 24, 2019 in Ansible by Kalgi
• 52,360 points
1,665 views
0 votes
0 answers

How to launch ec2 instance with allocating EIP?

I have tried to launch EC2 instance ...READ MORE

Sep 10, 2019 in Ansible by Lakshminarayanan
• 1,370 points
935 views
0 votes
0 answers

How to create AMI from running instance using ansible?

Hi, I need to take AMI(amazon machine ...READ MORE

Sep 9, 2019 in Ansible by Lakshminarayanan
• 1,370 points

edited Sep 9, 2019 by Lakshminarayanan 3,702 views
0 votes
1 answer

How to increase aws ebs volume using ansible ?

Hey, I am unaware of any specific ...READ MORE

Sep 9, 2019 in Ansible by Kalgi
• 52,360 points
4,544 views
0 votes
0 answers

Error "script not found" when suing ansible playbook to start an application using pm2

I have written an ansible task to ...READ MORE

Sep 4, 2019 in Ansible by Tara
956 views
0 votes
1 answer

Ansible playbook to delete multiple S3 buckets

Hey @Hari, you can use the following ...READ MORE

Aug 30, 2019 in Ansible by Chris
1,149 views
0 votes
1 answer

Delete an object from a bucket - ansible playbook

You have to use the following task ...READ MORE

Aug 26, 2019 in Ansible by Hari
1,171 views
0 votes
1 answer

ansible playbook to get get a specific version of an s3 object

You can use an ansible task, something ...READ MORE

Aug 26, 2019 in Ansible by Rhea
775 views
0 votes
1 answer

Ansible playbook for a shall script

You can convert a shell script to ...READ MORE

Aug 26, 2019 in Ansible by Anjali
1,327 views
0 votes
1 answer

Ansible error: ERROR! Variables must be specified as a dictionary, or a list of dictionaries

the correct syntax for the var file ...READ MORE

Jun 2, 2020 in Ansible by yehuda
6,409 views