Top "Ansible-playbook" questions

Red Hat Ansible is a model-driven, configuration management, multi-node deployment/orchestration and remote task execution system.

Ignore case sensitivity in Ansible when condition?

I am trying to create an ansible role that depends on other roles only if the hostname of the machine …

ansible ansible-playbook ansible-role
How to use Ansible 2.0 Python API to run a Playbook?

I'm trying to write a python script which will call existing Ansible playbooks as it goes (because I want to …

python api ansible ansible-playbook ansible-2.x
Ansible: ansible_domain or facter_domain - How to get domain value of a hostname mentioned in inventory file

Ansible 1.9.2 / 1.9.4 CentOS 6.7 In my invetory file, I have: [zabbix_server] zabbix.dev-white.projectname.jenkins [some_other_zabbix_server] someotherzabbix.dev-blue.…

ansible ansible-playbook ansible-2.x domain-name ansible-facts
How to open firewall port with ansible firewalld task on Centos 7

I have a task in my ansible-playbook script to open TCP port on a remote machine. but when I run …

centos ansible firewall ansible-playbook firewalld
Ansible: how to run a play with hosts with different passwords?

I'm currently learning how to use Ansible. Right now, I've got a bunch of servers, both new and legacy, that …

ubuntu ansible roles ansible-playbook
ansible ignore the run_once configuration on task

I am using Ansible and I want to run a task only once. I follow the documentation about how to …

task ansible ansible-playbook idempotent
Is it possible to use Ansible authorized_key exclusive with multiple keys?

I'm fairly new in using Ansible and have been reading here and google and haven't found an answer yet. My …

ubuntu ansible ansible-playbook authorized-keys
ERROR! this task 'apt_repository' has extra params

For the first time I am trying to use Ansible . When I tried to run a playbook I got this …

ansible ansible-playbook ansible-2.x
Cannot unzip the file located on remote centos machine using Ansible

- name: Unzip the Elasticsearch file unarchive: src=/root/elasticsearch-1.4.0.tar.gz dest=/tmp/ TASK [Unzip the Elasticsearch file] ******************************************* fatal: [54.173.94.235]: …

ansible unzip ansible-playbook
Ansible - Define Inventory at run time

I am liitle new to ansible so bear with me if my questions are a bit basic. Scenario: I have …

variables ansible roles ansible-playbook inventory