Trending questions in Ansible

0 votes
1 answer

How to remove duplicate entries from a file using Ansible?

Hi@akhtar, You can use the shell module to do your ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
4,537 views
0 votes
1 answer

How to create an ECS cluster using Ansible Playbook?

Hi@akhtar, You can create or terminate ECS clusters. ANsible has ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
1,140 views
0 votes
1 answer

How to create a simple S3 bucket on Ceph Rados Gateway using Ansible Playbook?

Hi@MD, Ansible has one module that can create ...READ MORE

Dec 4, 2020 in Ansible by akhtar
• 38,230 points
1,077 views
0 votes
1 answer

How to remove an S3 bucket using Ansible playbook?

Hi@akhtar, You can create or remove an S3 ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
1,017 views
0 votes
1 answer

Using ansible to install applications.

Hi@Manny, Every application has some dependencies. Then only ...READ MORE

Nov 24, 2020 in Ansible by MD
• 95,440 points
1,377 views
0 votes
1 answer

How to copy an AMI in a different region using Ansible Playbook?

Hi@akhtar, Ansible has one module to copy AMI ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
806 views
0 votes
1 answer

How to create ECS service on VPC network using Ansible Playbook?

Hi@akhtar, An Amazon ECS service enables you to run and ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
767 views
0 votes
1 answer

How to send mail using Ansible-Playbook?

Hi@akhtar, You can find one module in Ansible ...READ MORE

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

How to launch MySQL docker container using Ansible playbook?

Hi@akhtar, You can use docker_container module in your ...READ MORE

Sep 21, 2020 in Ansible by MD
• 95,440 points
3,847 views
0 votes
1 answer

How to delete an ECS Cluster using Ansible Playbook?

Hi@akhtar, An Amazon ECS cluster is a logical grouping of ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
607 views
0 votes
1 answer

How to create an encrypted bucket in AWS using Ansible Playbook?

Hi@akhtar, Sometimes it is required to encrypt the ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
613 views
0 votes
1 answer

How to configure the Nginx server in AWS with Ansible Playbook?

Hi@akhtar, To configure the Nginx server in AWS, ...READ MORE

Oct 12, 2020 in Ansible by MD
• 95,440 points
2,865 views
0 votes
1 answer

How to find the memory of remote systems using the setup module in Ansible?

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

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

How to write ansible playbook to setup ubuntu workstation and install any updates on it

Hi@Shashi, Ansible has one module named ec2. This is ...READ MORE

Nov 19, 2020 in Ansible by MD
• 95,440 points
1,024 views
0 votes
1 answer

ERROR! The API server (https://galaxy.ansible.com/api/) is not responding, please try again later.

Hi@akhtar, It seems your ansible is connecting to the ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
3,665 views
0 votes
1 answer

Error Message: "No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials"

Hi@akhtar, A dynamic inventory script will cache results to ...READ MORE

Oct 12, 2020 in Ansible by MD
• 95,440 points
2,575 views
0 votes
1 answer
0 votes
1 answer

Create a network in Docker using Ansible playbook.

Hi@akhtar, The docker_network module (Ansible 2.2 or higher) can create ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,440 points
3,452 views
0 votes
1 answer

How to create a user using Ansible Playbook?

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

Sep 1, 2020 in Ansible by MD
• 95,440 points
4,176 views
0 votes
1 answer

I am having issues installing basic packages using ansible

Hi@akhtar, Every application has some dependencies. Then only ...READ MORE

Nov 24, 2020 in Ansible by MD
• 95,440 points
521 views
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,423 views
0 votes
1 answer

How to validate the sudoers file before changing the file in Ansible?

Hi@akhtar, You can do this using lineinfile module ...READ MORE

Sep 2, 2020 in Ansible by MD
• 95,440 points
4,026 views
0 votes
1 answer

How to write ansible playbook for storage health checking? Any references?

Why ansible in particular? You can use ...READ MORE

Oct 29, 2020 in Ansible by Lohith
1,458 views
0 votes
1 answer

How to install mongodb on centos 7 using ansible

Hi@Shashi, I think for MongoDB you need to ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,440 points
3,250 views
0 votes
1 answer

How to remove old file using Ansible?

Hi@akhtar, You can remove your files using Ansible. ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
3,203 views
0 votes
1 answer

How to make every machine password less SSH in Ansible?

Do have access to all 1000 machines? ...READ MORE

Oct 30, 2020 in Ansible by Anil
1,217 views
0 votes
1 answer

How to start a docker container with healthstatus using Ansible?

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

Sep 20, 2020 in Ansible by MD
• 95,440 points
2,744 views
0 votes
1 answer

What is dynamic inventory in Ansible?

Hi@akhtar, In a configuration especially a cloud setup such ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,440 points
2,716 views
+1 vote
2 answers

What is the difference between ansible playbook and roles?

Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE

Jan 21, 2020 in Ansible by vivek
• 530 points
21,167 views
0 votes
2 answers

Error saying "ImportError: No module named yaml"

actually this related python pckage in order ...READ MORE

Jul 18, 2020 in Ansible by shivanand
16,893 views
0 votes
2 answers

How to create a directory in remote nodes using Ansible-Playbook?

You can read install and setup apache ...READ MORE

Aug 23, 2020 in Ansible by anonymous
• 160 points
3,786 views
0 votes
1 answer

How to switch a user per task or set of tasks?

Hi@akhtar, Ansible has a concept of privilege escalation. ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
2,501 views
0 votes
1 answer

How to create a firewall rule using Ansible Playbook?

Hi@akhtar, Ansible has a module named firewalld to ...READ MORE

Sep 2, 2020 in Ansible by MD
• 95,440 points
3,138 views
0 votes
1 answer

How to create docker volume using Ansible?

Hi@akhtar, We can create a volume docker resource ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,440 points
2,347 views
0 votes
1 answer

Write playbook to apply condition date wise comparison

Hi, It depends on your use case. For ...READ MORE

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

How to do SSH in EC2 instance using Ansible Playbook?

Hi@akhtar, To configure your inventory dynamically you need ...READ MORE

Sep 21, 2020 in Ansible by MD
• 95,440 points
2,229 views
0 votes
1 answer

How to create a docker container using Ansible playbook?

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

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

Script for websphere app server restart based on user request.

Hi@Saurabh, You can use the service module to ...READ MORE

Oct 19, 2020 in Ansible by MD
• 95,440 points
952 views
0 votes
1 answer

How to ignore ansible SSH authenticity checking?

Hi@akhtar, To avoid this you need to set ...READ MORE

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

How to run an Ansible Playbook to a particular node?

Hi@akhtar, You can control the playbook from the ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,440 points
2,261 views
0 votes
1 answer

fatal: [localhost]: FAILED! => {"changed": false, "msg": "boto required for this module"}

Hi@akhtar, As ansible use the python library in ...READ MORE

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

How to mount a dvd in a folder using Ansible playbook?

Hi@akhtar, Ansible has the mount module that is idempotent ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,440 points
2,252 views
0 votes
1 answer

Can I limit the execution of a playbook on selected clients?

Create a group in the inventory file ...READ MORE

Oct 23, 2020 in Ansible by Varshitha
628 views
0 votes
1 answer

How to create a directory using Ansible?

Hi@akhtar, You can use the file module. To ...READ MORE

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

FAILED! => {"changed": false, "msg": "state is mounted but all of the following are missing: fstype"}

Hi@akhtar, You need to pass some more arguments ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,440 points
2,169 views
0 votes
1 answer

How to create an Elastic Load Balancer in AWS with Ansible Playbook?

Hi@akhtar, You can find one module in ansible ...READ MORE

Oct 12, 2020 in Ansible by MD
• 95,440 points
974 views
0 votes
1 answer

How to create a security group in AWS using Ansible-Playbook?

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

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

How to set dynamic host inventory file for docker in Ansible?

Hi@akhtar, In a configuration especially a container setup such ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,440 points
1,822 views
0 votes
1 answer

How to replace a line using lineinfile module in Ansible?

Hi@MD, You can use lineinfile module in Ansible. ...READ MORE

Sep 2, 2020 in Ansible by akhtar
• 38,230 points
2,598 views