Category "ansible"

Ansible Tower - Module lineinfile - Issue: Missing lines

I'm using ansible tower and configured to run forks = 250. My tasks is simple, it writes in a file data extracted from hosts like 4000 hosts. example:

Ansible is there a modify-volume task?

I want to use ansible to run modify-volume and increase the volume size of instances with multiple ebs volumes attached. However, it seems that the ec2_vol task

How to get domain zone of the DNS A record using Ansible dig

Basically I have a simple server name ( non FQDN ) and im trying to identify in which DNS zone it has A record We have multiple DNS zones in our environment. As

How to share handlers?

The docs says: Since handlers are tasks too, you can also include handler files from the ‘handlers:’ section. What I do, playbook.yml: - hosts: al

Copy multiple files with Ansible

How can I copy more than a single file into remote nodes by Ansible in a task? I've tried to duplicate the copy module line in my task to define files but it o