Top "Ansible" questions

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

Ansible SSH private key in source control?

I have been developing an Ansible playbook for a couple of weeks, therefore, my experience with such technology is relatively …

git ssh ansible ssh-keys
Ansible: best practice for maintaining list of sudoers

In the documentation, there is an example of using the lineinfile module to edit /etc/sudoers. - lineinfile: "dest=/etc/…

python unix ansible user-management
How to kill a running process using ansible?

I have an ansible playbook to kill running processes and works great most of the time!, however, from time to …

process ansible kill ansible-2.x kill-process
ansible - delete unmanaged files from directory?

I want to recursively copy over a directory and render all .j2 files in there as templates. For this I …

ansible ansible-template
How can I show progress for a long-running Ansible task?

I have a some Ansible tasks that perform unfortunately long operations - things like running an synchronization operation with an …

ansible ansible-2.x
Ansible, set_fact using if then else statement

I am trying to set a variable in Ansible with set_fact at runtime based upon another variable. If uses …

ansible jinja2 ansible-template
How to use ansible 'expect' module for multiple different responses?

Here I am trying to test my bash script where it is prompting four times. #!/bin/bash date >/opt/…

python python-2.7 ansible ansible-2.x
Conflicting action statement in ansible

I am getting the following error : Conflicting action statement in ansible. I tried to understand, my code seems to be …

ansible ansible-playbook ansible-2.x
yum + what is the message - No package ansible available

I am try to install the ansible tool on my linux red-hat version - 5.7 yum install ansible Loaded plugins: security …

linux ansible yum
Correct way to create dynamic lists in Ansible

I'm looking for advice. I have the following code that creates a list dynamically that I can then later use …

ansible ansible-playbook ansible-2.x