Latest questions in Ansible

0 votes
0 answers

How to extract information about remote linux servers using ansible?

It is important to gather data from ...READ MORE

Dec 15, 2022 in Ansible by Edureka
• 12,690 points
461 views
0 votes
0 answers

How do I execute MySqL query using Ansible playbook

Dear team, I'm trying to execute MySQL , ...READ MORE

Oct 4, 2021 in Ansible by anonymous
• 140 points
2,894 views
0 votes
0 answers
0 votes
1 answer

I could install Git, can u please explain how to set up chromedriver(selenium), chromium browser(selenium) on the slave node through Ansible

Hi@Vinodkumar, Did you go through the related question ...READ MORE

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

##[error]Command failed with errors on Ansible machine

Hi@Vicky, By default, if one task fails, then ...READ MORE

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

Can we use Ansible and Rundeck together, or using either one is enough?

Hi@akhtar, It depends on your requirement. According to ...READ MORE

Dec 16, 2020 in Ansible by MD
• 95,440 points
1,493 views
+1 vote
1 answer

Ansible to rename a file if it exists

Hi@Jp, What output you are getting? Your playbook ...READ MORE

Dec 14, 2020 in Ansible by MD
• 95,440 points
3,550 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
572 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
711 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,086 views
0 votes
1 answer

How to create an ec2 snapshot using Ansible Playbook?

Hi@akhtar, You can create an EC2 snapshot from an existing ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
1,394 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
772 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
930 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,030 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
572 views
0 votes
1 answer

How to create an S3 bucket using Ansible Playbook?

Hi@akhtar, Ansible has a module that can create ...READ MORE

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

How to install python package using Ansible playbook?

Hi@akhtar, Ansible has a pip module to install ...READ MORE

Dec 2, 2020 in Ansible by MD
• 95,440 points
3,975 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,300 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
474 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
972 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,170 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,390 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
587 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
889 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
891 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,800 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
934 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,497 views
0 votes
1 answer

Running task from Different roles in parallel

Hi@Shambhavi, You can use tags in your task. ...READ MORE

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

How to update a distribution comment by distribution id using Ansible Playbook?

Hi@akhtar, You can update your distribution with the ...READ MORE

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

How to create a cloudfront distribution using Ansible?

Hi@akhtar, You can find one module named cloudfront_distribution ...READ MORE

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

Is it mandatory to have Ansible Controller Machine (ACM) and Jenkins Master on the same server/instance ?

Make git, Jenkins, Docker, ansible master as ...READ MORE

Sep 30, 2020 in Ansible by Adil
502 views
0 votes
1 answer

How to skip execution of a task in ansible playbook ??

Define tags...  Then while running playbook use --skip-tags. READ MORE

Sep 30, 2020 in Ansible by Adil
10,186 views
0 votes
1 answer

How to run a cron job using Ansible Playbook?

Hi@akhtar, You can use a module named Cron ...READ MORE

Sep 29, 2020 in Ansible by MD
• 95,440 points
9,751 views
0 votes
1 answer

Which module is used to add repo in ansible for ubuntu?

It is Apt_repository that is used to ...READ MORE

Sep 28, 2020 in Ansible by Akhil
306 views
0 votes
1 answer

How to specify sudo password for Ansible?

Hi@akhtar, You can pass variable on the command ...READ MORE

Sep 28, 2020 in Ansible by MD
• 95,440 points
5,212 views
0 votes
1 answer

How to write ansible script for installing jenkins on aws RHEL?

Check this out. https://github.com/geerlingguy/ansible-role-jenkins H ...READ MORE

Sep 24, 2020 in Ansible by smy
1,044 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,171 views
0 votes
1 answer
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,736 views
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,365 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,280 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,653 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,755 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,670 views
0 votes
1 answer

Create a container with limited capabilities using Ansible playbook.

Hi@akhtar, The docker_container module has capabilitues keyword. This ...READ MORE

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

How to create a docker container using Ansible?

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

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

FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation for Ansible-2.3 may contain hints for porting"}

Hi@akhtar, You are using the docker module. This ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,440 points
1,424 views
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,447 views