I would like to be able to get list of volume groups available and then use the attributes of the volume group to conditionally create the filesystem on volume
I've been getting my feet wet with Ansible (2.0.0.2) on CentOS 7. I'm trying to obtain a version from an installed rpm/yum package, but ran into a warning messa
I have constructed an ansible variable using two other defined ansible variables. The constructed variable is defined in the vars/main.yml and I want to access
I have a situation where i am trying to remove the item from a list. but i am not getting expected result. Please help me what I am doing wrong here? here is
I want to write a task in Ansible to perform the following command: "systemctl set-default graphical.target" without using shell/command modules. not sure that
I used an ansible playbook to install git: --- - hosts: "www" tasks: - name: Update apt repo apt: update_cache=yes - name: Install dependencies ap
I try to run playbook on Ansible tower to connet to window server and got bug this this my playbook --- - name: Tranfer File From Jap hosts: tbdbmonprd tas
I've defined a variable in my inventory file, but i get error variable is undefined when using it in play condition. inventory.yml: [nodes] node1 .... node1 .
trying to provision vagrant vm (ubuntu/trusty64) with ansible_local provisioner from cygwin [WARNING] Ansible is being run in a world writable directory (/v
Recently I created new roles called spd in my existing project. While other script works fine in the setup. This newly created fails. Please point me to what is
There is something I need to achieve in Ansible that I found no where to start. I need to Login as a non-root user (remote_user: jane) Switch user to root after
I want to fix the following warning by manually creating the path: Wednesday 22 January 2020 12:50:41 +0100 (0:00:05.878) 0:20:16.431 ***** [WARNING]:
I am trying to get all the installed YUM packages on an RHEL machine. I can easily get it through using shell commands which is not idempotent and would like to
I have this in my playbook: - name: Add Glusterfs APT Repository become: yes become_method: sudo environment: http_proxy: http://192.168.42.2
I have an inventory file that looks like this: [master] host01 [nl] host02 [us] host03 [satellites:children] nl us How can I get a list of groups that hav
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:
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
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
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
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