Most answered questions in Ansible

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
928 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,212 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
795 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
716 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,302 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
+1 vote
1 answer

Set AWS credentials in boto config file

Go to your boto config file, and ...READ MORE

Mar 26, 2019 in Ansible by Raymond
2,510 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,789 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
426 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,948 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
574 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,121 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,345 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,114 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,281 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,026 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
874 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,163 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,578 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,721 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,538 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,758 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,910 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,209 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,103 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
864 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,813 views
+1 vote
1 answer

Ansible Playbook cannot locate the role

Use requirements.yml file and running it with: ansible-galaxy install -r ...READ MORE

Mar 13, 2019 in Ansible by krishti
6,610 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,285 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
819 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,141 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,736 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
517 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
349 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
518 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
423 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
654 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
511 views
0 votes
1 answer

Error while running playbook consisting of roles - Ansible

You get this error because ansible was ...READ MORE

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

Why do people use Ansible roles?

Ansible roles are basically like functions in ...READ MORE

Mar 12, 2019 in Ansible by Yamini
416 views
0 votes
1 answer

Encrypting few variables and embedding them in playbook

Hey @Camron, you can just encrypt those ...READ MORE

Mar 7, 2019 in Ansible by Fez
678 views