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
915 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,194 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
403 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
773 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
699 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,279 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
386 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
596 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,482 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,769 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
566 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
405 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,928 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
565 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,101 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,312 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,098 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,248 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,253 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
800 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,015 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
852 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
623 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,148 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
788 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,547 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
996 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,622 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,516 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,745 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,896 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,188 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,083 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,214 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
855 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,800 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,579 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,219 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
807 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,116 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,714 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
494 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
343 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
504 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
408 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
644 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
484 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,227 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
409 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
652 views