Trending questions in Ansible

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 in Ansible by Aria
34 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 in Ansible by Aria
22 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 in Ansible by Eric
58 views
0 votes
1 answer

Can Ansible replace Jenkins?

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

Nov 15 in Ansible by Eric
56 views
+2 votes
1 answer

getting error while installing ansible on redhat8

The same error is reported in this ...READ MORE

Dec 3 in Ansible by Raveendiran
• 860 points
46 views
0 votes
1 answer

ansible playbook to create and remove a WebSphere application server deployment manager profile

The below gives an example of creating ...READ MORE

Oct 30 in Ansible by Tanmay
174 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 in Ansible by Tanya
152 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 in Ansible by Tanya
87 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 in Ansible by Tanmay
85 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 in Ansible by Tanya
44 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 in Ansible by Tanishq
41 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 in Ansible by Yesha
31 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 in Ansible by Bob
112 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 in Ansible by Bob
31 views
0 votes
1 answer
0 votes
1 answer

How to copy directory and sub dirs's and files from source to remote using ansible playbook

Hey @Nishant, you can use the copy ...READ MORE

Apr 3 in Ansible by Kalgi
• 46,110 points
8,679 views
0 votes
0 answers

How to write a playbook for websphere deployment?

Oct 19 in Ansible by Rajendra
• 470 points
48 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 in Ansible by Yogesh

edited Oct 15 114 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 in Ansible by Kalgi
• 46,110 points
133 views
0 votes
1 answer

How to increase aws ebs volume using ansible ?

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

Sep 9 in Ansible by Kalgi
• 46,110 points
651 views
0 votes
0 answers

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

Sep 23 in Ansible by Rajendra
• 470 points

closed Sep 24 by Kalgi 45 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 in Ansible by Latchu
• 380 points

edited Sep 9 by Latchu 598 views
0 votes
1 answer

Ansible error "Could not find aptitude. Using apt-get instead"

Hey @Hita, use the apt module to ...READ MORE

Aug 26 in Ansible by Jinu
963 views
0 votes
0 answers

How to launch ec2 instance with allocating EIP?

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

Sep 10 in Ansible by Latchu
• 380 points
100 views
+1 vote
1 answer

Ansible-playbook to install and configure Nginx+Nodejs+Npm+PM2

Try thhis out: --- - hosts: hosts tasks: ...READ MORE

Sep 3 in Ansible by Kalgi
• 46,110 points
237 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 in Ansible by Tara
51 views
+1 vote
1 answer

How download artifactory(.tar.gz file) from jfrog artifactory using ansible playbook in linux servers?

Hey @Anil, download the artifactory(.tar.gz) file and ...READ MORE

Aug 13 in Ansible by Kamal
964 views
0 votes
1 answer

Ansible playbook to delete multiple S3 buckets

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

Aug 30 in Ansible by Chris
75 views
0 votes
1 answer

Ansible playbook for a shall script

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

Aug 26 in Ansible by Anjali
100 views
0 votes
0 answers
0 votes
0 answers

want to comment cron job using ansible

Hi Team, I want to comment cron job ...READ MORE

Aug 26 in Ansible by Manikar
94 views
0 votes
1 answer

Delete an object from a bucket - ansible playbook

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

Aug 26 in Ansible by Hari
47 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 in Ansible by Rhea
37 views
0 votes
1 answer

Ansible error "from ansible import context ImportError: cannot import name context"

I had faced a similar issue. In ...READ MORE

Aug 8 in Ansible by Pallavi
720 views
0 votes
0 answers

how can we unarchive multiple different files using ansible-playbook? i tried this yml file its getting error

---   - hosts: all     become: yes     vars:     - path: /home/ansadmin     tasks:     - name: ...READ MORE

Aug 17 in Ansible by Rajendra
• 470 points
367 views
0 votes
0 answers

it will executing but skipping the tomcat and Jenkins

---   - hosts: all     become: yes     tasks:       - name: installing tools         yum: ...READ MORE

Aug 16 in Ansible by Rajendra
• 470 points
28 views
0 votes
1 answer

Ansible task to download a file from an S3 bucket

Hey @Roshan, ansible provides wiht AWS module ...READ MORE

Jul 31 in Ansible by Varsha
509 views
0 votes
1 answer

Ansible playbook to copy database dump file to remote host and restore it to another database

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

Aug 8 in Ansible by Kalgi
• 46,110 points
150 views
0 votes
1 answer

Ansible playbook to create a new database

Hi pravalika, its pretty simple.  You just ...READ MORE

Aug 8 in Ansible by Trvais
53 views
0 votes
1 answer

1 master 10 clients - run ansible playbook only on 5

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

Aug 8 in Ansible by Tanya
39 views
0 votes
1 answer

Ansible playbook to create an S3 bucket

Hey @Alok, an ansible task like this ...READ MORE

Jul 31 in Ansible by Vish
338 views
0 votes
1 answer

Can we run parallel jobs in Ansible

Running parallel tasks in Ansible is not ...READ MORE

Aug 5 in Ansible by Kalgi
• 46,110 points
104 views
0 votes
1 answer

Ansible task to copy file to S3 bucket

Hey @Adarsh, try this task definition: --- - hosts: ...READ MORE

Jul 31 in Ansible by Vish
200 views
0 votes
1 answer

Delete an object/file from an s3 bucket

Hey @Jinu, you can try the following ...READ MORE

Jul 31 in Ansible by Barbara
86 views
0 votes
1 answer

Pass sudo password while executing Ansible playbook

Hey @Bob, try something like this: ansible-playbook playbook.yml ...READ MORE

Jul 22 in Ansible by Akash
153 views
0 votes
1 answer

Use parameters stored in aws parameter store in ansible playbook

Use aws_ssm module for this purpose: - name: ...READ MORE

Jul 22 in Ansible by Vishnu
108 views
+1 vote
4 answers

Pass variable to ansible playbook through command line

ansible-playbook test.yml --extra-vars "arg1=${var1} arg2=${var2}" Use is like ...READ MORE

May 7 in Ansible by Bobin
4,864 views
0 votes
1 answer
0 votes
1 answer

Ansible "When" statement

You can try the following workaround. So ...READ MORE

Jul 4 in Ansible by Anvit
182 views
0 votes
2 answers

Create k8s namespace using ansible

You can also create a kubernetes namespace ...READ MORE

Jun 11 in Ansible by Nasser

edited Jun 11 345 views