Top "Ansible" questions

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

Ansible - How to check the physical memory and free disk is greater than some value?

How to write an ansible task to check if the physical memory >=128 MB and free disk is >= 256 MB. …

linux ansible ansible-2.x
is it possible to add ansible_ssh_common_args in inventory file

i want to jump/SSH Bastion Host using ProxyCommand of ansible_ssh_common_args. ansible server:10.10.149.2 gateway/Bastion host:10.10.149.70 host …

ansible ansible-playbook ansible-2.x
Ansible: How to specify an array or list element fact with yaml?

When we check hostvars with: - name: Display all variables/facts known for a host debug: var=hostvars[inventory_hostname] …

ansible yaml ansible-facts
ansible: how to restart auditd service on centos 7 get error about dependency

In my playbook, i have a task to update audit.rules and then notify a handler which should restart the …

ansible centos7 systemctl
adding an fstab option using Ansible

I am trying to add nodev to my /etc/fstab file. I am using the Ansible command below but with …

regex ansible mount mount-point
Change linux password with Ansible playbook script when connecting as a non-root user without sudo privileges

I am trying to change password for a non-root Linux user from Ansible playbook. To do so I tried to …

linux bash passwords ansible passwd
ansible json-query path to select item by content

Does anyone know what json-query filter can be used to select Tigger's food in the sample JSON below? The JSON …

json ansible jmespath json-query
How to automatically pass vault password when running Ansible playbook?

I have an Ansible playbook with vault, and I want to ask for vault password through the prompt box in …

ansible ansible-vault
Ansible - with_dict: dictionary - How to use variables defined in each dictionary which depends upon others

Environment is: Ansible 1.9.2, CentOS 6.5 I have created a role to download JAVA (.tar.gz) artifact files for 3 different JAVA versions …

ansible roles ansible-playbook ordereddictionary
How do you change ansible_default_ipv4?

I'd like to change ansible_default_ipv4 to point to eth1 instead of eth0. Can I do this in either …

ansible ansible-facts