Most voted questions in Ansible

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
526 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,223 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
933 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,213 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
414 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
796 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,196 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
718 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,304 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
397 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
607 views
0 votes
1 answer

Boto config file on Linux

Hey @Hari, your boto config file could ...READ MORE

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

Hey I'm trying to execute a playbook but I get the following error:

Hey, you have a syntax error as ...READ MORE

Mar 26, 2019 in Ansible by Kalgi
• 52,360 points
578 views
0 votes
1 answer

Playbook to add ec2 instance to ELB

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

Mar 26, 2019 in Ansible by Yesha
427 views
0 votes
1 answer

Playbook to add hosts to the known hosts list - Ansible

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

Mar 26, 2019 in Ansible by Haider
2,952 views
0 votes
1 answer

Playbook to wait for servers to come online - Ansible

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

Mar 26, 2019 in Ansible by Jaz
575 views
0 votes
1 answer

Store ec2 instance IP using ansible playbook

Hey @Himanshu, you can use something like ...READ MORE

Mar 25, 2019 in Ansible by Yesha
3,132 views
0 votes
1 answer

Ansible Playbook to create a Load Balancer

Hey @Himanshu, you can try something like ...READ MORE

Mar 25, 2019 in Ansible by Jack
2,351 views
0 votes
1 answer

Playbook to get my current IP - Ansible and AWS

Hey Komal, that's pretty simple. Try this: - ...READ MORE

Mar 24, 2019 in Ansible by Aarohi
1,118 views
0 votes
1 answer

How do i tie Ansible's inventory to cobbler?

To tie Ansible’s inventory to Cobbler, copy this ...READ MORE

Mar 24, 2019 in Ansible by Aleesha
1,265 views
0 votes
1 answer

What is cobbler? - Ansible

Cobbler is a Linux installation server that ...READ MORE

Mar 24, 2019 in Ansible by Kyraa
2,295 views
0 votes
1 answer

When to use dynamic inventory?

If your Ansible inventory fluctuates over time, ...READ MORE

Mar 24, 2019 in Ansible by Nitesh
810 views
0 votes
1 answer

Create Network Load Balancer on AWS using Ansible

Hey @Neha, you can create NLB using ...READ MORE

Mar 24, 2019 in Ansible by Arc
1,027 views
0 votes
1 answer

aws_ssm parameter values

This module provided by aws is used ...READ MORE

Mar 24, 2019 in Ansible by Hannah
881 views
0 votes
1 answer

Requirements to used aws_ssm module

The below requirements are needed on the ...READ MORE

Mar 24, 2019 in Ansible by Hitesh
634 views
0 votes
1 answer

aws_ssm module in Ansible

According to the official docs, this module ...READ MORE

Mar 24, 2019 in Ansible by Yesha
1,167 views
0 votes
1 answer

Ansible with AWS Parameter store

Hey @Dipti, have a look at the ...READ MORE

Mar 24, 2019 in Ansible by Rhea
798 views
0 votes
1 answer

Playbook to install and start nginx on ubuntu

Write your playbook like this: --- - hosts: droplets ...READ MORE

Mar 15, 2019 in Ansible by Deep
11,584 views
0 votes
0 answers

Service mongod not found

I have a playbook to install mean ...READ MORE

Mar 15, 2019 in Ansible by kalgi
269 views
0 votes
2 answers

Ansible error while ansible -m ping all

It looks like ansible may be installed ...READ MORE

Mar 18, 2019 in Ansible by Vince
2,884 views
0 votes
1 answer

Install mean stack on ubuntu using ansible

You can have three roles  under /etc/ansible/roles -prerequisites -mongodb -nodejs under /etc/ansible ...READ MORE

Mar 15, 2019 in Ansible by Janice
1,006 views
0 votes
1 answer

Install git using Ansible

Installing git using ansible is pretty simple. ...READ MORE

Mar 15, 2019 in Ansible by Haider
22,745 views
0 votes
1 answer

Installing nodejs using ansible

Your role should look something like this: - ...READ MORE

Mar 15, 2019 in Ansible by Hari
5,541 views
0 votes
1 answer

Installing mongodb using ansible

Your mongodb role should look something like this: - ...READ MORE

Mar 15, 2019 in Ansible by Purva
3,761 views
0 votes
1 answer

Error: Failed to get data from the API server - when trying to create a new role structure using ansible galaxy

Check your python version. It should be ...READ MORE

Mar 14, 2019 in Ansible by Haider
1,920 views
0 votes
1 answer

Error while copying files using ansible role.

Add the following as an argument to ...READ MORE

Mar 14, 2019 in Ansible by Yesha
1,215 views
0 votes
1 answer

Error: One or more undefined variables: 'unicode object' has no attribute 'repo'

Hey change this in your role with_items: apt_repos By ...READ MORE

Mar 14, 2019 in Ansible by Haseeb
3,111 views
0 votes
1 answer

Failed to mkdir while creating a handler directory - Ansible

Hey @Ali, try running it as a ...READ MORE

Mar 14, 2019 in Ansible by Bob
1,242 views
0 votes
1 answer

CRC check failed error when pulling ansible role from git

You can try adding --no-wait option to the ansible-galaxy import call ...READ MORE

Mar 14, 2019 in Ansible by Kanika
866 views
0 votes
1 answer

Run bundle install inside rvm - Ansible roles

Example config installing ruby system-wide ripped right ...READ MORE

Mar 13, 2019 in Ansible by Kim
1,814 views
0 votes
1 answer

Error saying "Failed to find required executable gpg in paths"

Hey @Nisha, according to your error, your ...READ MORE

Mar 13, 2019 in Ansible by Yesha
10,300 views
0 votes
1 answer

Make Ansible throw an error inside the role

Hey @Nisha, you can use the block/rescue ...READ MORE

Mar 13, 2019 in Ansible by Kim
823 views
0 votes
1 answer

Syntax error while using block in ansible role

block should be on the same indentation level ...READ MORE

Mar 13, 2019 in Ansible by Kim
4,146 views
0 votes
1 answer

Error saying "No handler was ready to authenticate. 1 handlers were checked"

You are mixing underscore and hyphen. cat /etc/ansible/ec2-vars/te ...READ MORE

Mar 13, 2019 in Ansible by Kim
1,741 views
0 votes
1 answer

Error while installing ansible-galaxy on Mac

Run the following to upgrade setuptools under ...READ MORE

Mar 13, 2019 in Ansible by Haider
520 views
0 votes
1 answer

Manage large number of roles

I had close to 200 roles. All of ...READ MORE

Mar 13, 2019 in Ansible by Levin
353 views
0 votes
1 answer

Organize roles - Ansible roles

One of the ways is to use ...READ MORE

Mar 13, 2019 in Ansible by Haider
524 views
0 votes
1 answer

My roles have a directory called files. What does it do?

This directory contains regular files that need ...READ MORE

Mar 13, 2019 in Ansible by Barbara
428 views
0 votes
1 answer

Ansible roles change workflow order by moving handlers.

Flush handlers with meta: flush_handlers before the task that ...READ MORE

Mar 12, 2019 in Ansible by William
658 views
0 votes
1 answer

How do i automatically install galaxy roles?

You should use a requirements.yml file for this use-case. ...READ MORE

Mar 12, 2019 in Ansible by William
516 views