Latest questions in Ansible

0 votes
1 answer

Ansible task to copy file to S3 bucket

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

Aug 1, 2019 in Ansible by Vish
3,928 views
0 votes
1 answer

Ansible playbook to create an S3 bucket

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

Aug 1, 2019 in Ansible by Vish
2,908 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 23, 2019 in Ansible by Vishnu
1,425 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, 2019 in Ansible by Akash
5,142 views
0 votes
1 answer
0 votes
2 answers

Ansible task to list all pods from any k8s namespace

Here is a more complete answer for ...READ MORE

Feb 6, 2020 in Ansible by scatat
6,326 views
0 votes
1 answer

Ansible Playbook to get k8s authentication result

Hey @Den, try something like this: - hosts: ...READ MORE

Jun 11, 2019 in Ansible by Faiza
878 views
0 votes
1 answer

Ansible task to read definition file from the Ansible controller file system.

Hey, you can use the k8s module ...READ MORE

Jun 11, 2019 in Ansible by Babita
1,071 views
0 votes
1 answer

Ansible task to create service object using inline definition

You can use the k8s module for ...READ MORE

Jun 11, 2019 in Ansible by Tanya
605 views
0 votes
2 answers

Create k8s namespace using ansible

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

Jun 11, 2019 in Ansible by Nasser

edited Jun 11, 2019 6,773 views
0 votes
1 answer

Get MD5 checksum of a windows file using Ansible

Hi @Travis, you can use the win_stat ...READ MORE

Jun 11, 2019 in Ansible by Greg
2,805 views
0 votes
1 answer

obtain information about a file in windows using ansible playbook

Hey @Travis, you can use the win_stat ...READ MORE

Jun 11, 2019 in Ansible by Drake
1,110 views
0 votes
1 answer

Ansible "When" statement

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

Jul 4, 2019 in Ansible by Anvit
860 views
0 votes
1 answer

Ansible Error "ERROR! 'vars_files' is not a valid attribute for a PlaybookInclude"

vars_files is not supported for included playbooks ...READ MORE

Jun 3, 2019 in Ansible by Tara
4,328 views
0 votes
0 answers
0 votes
0 answers

How get_facts or show commands on A10 network? - Ansible

I'm a network engineer leveraging the A10s ...READ MORE

Apr 23, 2019 in Ansible by David
• 120 points
641 views
0 votes
1 answer

Iterate over containerInstance feild?

Try something like this: - name: List jenkins ...READ MORE

Apr 9, 2019 in Ansible by Anshul
564 views
0 votes
1 answer

Playbook to get all the container's ARN's in my AWS ECS cluster

Hey @haseeb, you could try something like ...READ MORE

Apr 9, 2019 in Ansible by Anshul
759 views
0 votes
1 answer

Playbook to start ec2 instance

- name: Create an ec2 instance ...READ MORE

Apr 9, 2019 in Ansible by Kalgi
453 views
0 votes
1 answer

ERROR! with_dict expects a dict - When creating a new keypair using Ansible

Depends on the version you're using. I'm ...READ MORE

Apr 9, 2019 in Ansible by Anshul
2,625 views
0 votes
1 answer

What are the requirements to run Anible on Azure?

Using the Azure Resource Manager modules requires ...READ MORE

Apr 5, 2019 in Ansible by ZA
376 views
0 votes
1 answer

Requirements to run Ansible with Jenkins

These are the only requirements for running ...READ MORE

Apr 4, 2019 in Ansible by Himanshu
555 views
0 votes
1 answer

How is Jenkins used with Ansible?

Jenkins can be used as an interface ...READ MORE

Apr 4, 2019 in Ansible by Ashish
397 views
0 votes
1 answer
0 votes
1 answer

ERROR: Ansible playbook execution failed - Ansible Jenkins

Hey @Asha, Try to run it as user ...READ MORE

Apr 4, 2019 in Ansible by Aman
10,496 views
0 votes
1 answer

When to use Ansible work with Jenkins?

If your deployment and machine environment are ...READ MORE

Apr 4, 2019 in Ansible by Anand
444 views
0 votes
1 answer

Running a playbook using Ansible on Jenkins

Hey, @Asha seems like you've added a ...READ MORE

Apr 4, 2019 in Ansible by Akhil
3,190 views
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, 2019 in Ansible by Kalgi
• 52,360 points
30,032 views
0 votes
1 answer

Permission denied error while building a project using Ansible on jenkins

Your Jenkins job is running as default ...READ MORE

Apr 2, 2019 in Ansible by Aleesha
2,431 views
0 votes
1 answer

Ansible task to know if a path exists and if its a directory

Hi @Nisha, use the stat module provided ...READ MORE

Apr 2, 2019 in Ansible by Alok
10,971 views
0 votes
1 answer

Ansible task to determine if a path exists and is a symlink

Hi @neha, you can write your task ...READ MORE

Apr 2, 2019 in Ansible by Alok
6,916 views
0 votes
1 answer
0 votes
1 answer

Return values of Ansible Commands

Hey @Rani, you could try something like ...READ MORE

Apr 2, 2019 in Ansible by Alia
652 views
0 votes
1 answer

Playbook to gather ec2_asg_facts AWS auto scaling group

Hey @Neya, try something like this: --- - name: ...READ MORE

Apr 2, 2019 in Ansible by Pam
1,415 views
0 votes
1 answer

Error: the field 'args' has an invalid value, which appears to include a variable that is undefined - Ansible

Hey @Harsh, use with_items to access the result ...READ MORE

Apr 2, 2019 in Ansible by Yesha
3,416 views
0 votes
1 answer

Error saying "Cannot write to ControlPath" - Ansible

hey @Neel, this seems like your Linux ...READ MORE

Mar 29, 2019 in Ansible by Yesha
3,319 views
0 votes
1 answer

Getting error when using Ansible playbook. error message: “msg”: “boto required for this module”

Hey @Vardhan, you're missing out on the ...READ MORE

Mar 29, 2019 in Ansible by Himanshu
7,391 views
0 votes
0 answers

Error while executing playbook to start ec2 instance

I have a playbook that starts an ...READ MORE

Mar 29, 2019 in Ansible by Kalgi
983 views
0 votes
1 answer

Playbook to Create a VM with OS and multiple data storage accounts

Hey @Neha, you can write a task ...READ MORE

Mar 27, 2019 in Ansible by Frankie
517 views
0 votes
1 answer

Ansible Playbook for Creating a VM with OS and multiple data managed disks

Hey @Ammie, Try a playbook something like ...READ MORE

Mar 27, 2019 in Ansible by Stark
1,221 views
0 votes
1 answer

Playbook to create VM with existing storage account on Azure

Hey @Layla, try something like this: - name: ...READ MORE

Mar 27, 2019 in Ansible by Barbara
925 views
0 votes
1 answer

Playbook to create VM with managed disk - ansible with azure

Hey @Kavya, try something like this: - name: ...READ MORE

Mar 27, 2019 in Ansible by Jobin
2,211 views
0 votes
1 answer

Playbook to create availability disk for a VM

Hey @Chandan, try something like this: - name: ...READ MORE

Mar 27, 2019 in Ansible by Harsh
410 views
0 votes
1 answer

Playbook to create a VM on Azure

Hey @Bob, try something like this to ...READ MORE

Mar 27, 2019 in Ansible by Jason
792 views
0 votes
2 answers

Error while creating resource group on Azure using Ansible

Please check you indentation, remove all spaces ...READ MORE

Mar 17, 2020 in Ansible by Shrikant Yerge
1,193 views
0 votes
1 answer

Error while installing Ansible on Azure

There are few dependencies that you need ...READ MORE

Mar 26, 2019 in Ansible by Derryl
715 views
0 votes
1 answer

Print all boto debug and request/response message from boto and httplib

Debug Controls the level of debug messages ...READ MORE

Mar 26, 2019 in Ansible by Raymond
1,298 views
0 votes
1 answer

No debug messages from boto to be printed

Debug Controls the level of debug messages ...READ MORE

Mar 26, 2019 in Ansible by Raymond
395 views
0 votes
1 answer

print basic boto debug message

Debug Controls the level of debug messages ...READ MORE

Mar 26, 2019 in Ansible by Raymond
606 views