Top "Ansible-2.x" questions

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy.

How to loop over this dictionary in Ansible?

Say I have this dictionary war_files: server1: - file1.war - file2.war server2: - file1.war - file2.…

ansible ansible-2.x
Ansible - Check if string exists in file

I'm very new to Ansible Is it possible to check if a string exists in a file using Ansible. I …

ansible ansible-2.x
Ansible : create a relative symlink

In my playbook, I need to create a symbolic link for a repo. With command (shell) it may work like …

ansible ansible-2.x
Unexpected Exception: name 'basestring' is not defined when invoking ansible2

I'm trying to execute ansible2 commnads... When I do: ansible-playbook -vvv -i my/inventory my/playbook.yml I get: Unexpected …

python python-3.x ansible ansible-2.x
Ansible: Multiple and/or conditionals in when clause

I am having issues when trying to use multiple and/or conditionals in a when statement to decide whether a …

ansible ansible-2.x
reading json like variable in ansible

I'm new to ansible and I'm having a problem reading a value from json file in ansible role. my variable …

ansible ansible-2.x
Ansible remote_user vs ansible_user

The question is simple: what is the difference between ansible_user (former ansible_ssh_user) and remote_user in Ansible, …

ansible ansible-playbook ansible-2.x
iteration using with_items and register

Looking for help with a problem I've been struggling with for a few hours. I want to iterate over a …

ansible ansible-playbook ansible-2.x
Ansible Timeout (12s) waiting for privilege escalation prompt

I'm having trouble running my Ansible playbook on AWS instance. Here is my version: $ ansible --version ansible 2.0.0.2 I created an …

amazon-ec2 ansible-playbook ansible-2.x
Ansible: ansible_user in inventory vs remote_user in playbook

I am trying to run an Ansible playbook against a server using an account other than the one I am …

ansible ansible-2.x ansible-inventory