[ansible-project] Ansible 2.6.4 is available

2018-09-06 Thread Matt Clay
Hi all -- we're happy to announce that the general release of Ansible 2.6.4 is now available! How do you get it? -- $ pip install ansible==2.6.4 --user The tar.gz of the release can be found here:

[ansible-project] Issues in creating AWS EFS via Ansible

2018-09-06 Thread Pravin Patil
I am creating a playbook to create a EFS in AWS, using Ansible, but running into errors. Please suggest how to resolve this error. *Below is my ansible script:* --- - hosts: localhost vars: efs_name: "{{efs_name}}" efs_tagname: "{{efs_tagname}}" efs_purpose: "{{efs_purpose}}"

[ansible-project] Ansible: async getting error "async task did not complete within the requested time"

2018-09-06 Thread Ankur Gupta
Hello Everyone, I have a task, where I need to run shell command which takes 22-25 min to execute after that it reboots the system. when playbook runs command execute successfully reboot the system but after some time its gives the error " async task did not complete within the requested

Re: [ansible-project] Nested variables and regex_replace()

2018-09-06 Thread Einar Coutin
I'll make a pull request here: https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html To add this example'Tis was a lot of looking around. Thanks! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Using cobbler.py to discover hosts on multiple cobbler servers

2018-09-06 Thread Joanna Delaporte
I am curious whether anyone has used cobbler.py to discover inventory on multiple cobbler servers, without needing to change the host variable to a new cobbler server every time. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] COPY failing

2018-09-06 Thread Julian Kriel
Your indentation does not look correct,can you confirm that the below is the play you're running On Thu, 06 Sep 2018, 23:19 Andres Tarallo, wrote: > I've made a playbook that was copying files from one host to an other. > Till yesterday, that started failing. > > After Paying the task says: >

[ansible-project] COPY failing

2018-09-06 Thread Andres Tarallo
I've made a playbook that was copying files from one host to an other. Till yesterday, that started failing. After Paying the task says: TASK [Deployment Application] changed: [192.168.214.99] => {"changed": true} But the result doesn't look as a proper copy. Here's the debug

[ansible-project] Re: view remote shell script output to the controller node terminal screen

2018-09-06 Thread Tony Chia
If the log file is generated in the /tmp/ folder you can use the fetch command to copy the log back to the ansible controller and use whatever method you want to display the content (maybe shell module with cat command) An example of the fetch module is sohwn below - name: Copy

[ansible-project] Re: Roles calling

2018-09-06 Thread Tony Chia
roles typically doesn't have .yml extension. By default if a task within a role fails, ansible playbook will not execution. The 3 roles will be executed in sequence so b role will execute if a role is successful. On Wednesday, September 5, 2018 at 11:40:13 PM UTC-7, Abhijit Chakraborty

[ansible-project] Re: Create CI CD pipeline in Ansible

2018-09-06 Thread Tony Chia
You can use ansible tower's workflow to chain the dev job to the uat job and the production job. see https://docs.ansible.com/ansible-tower/latest/html/userguide/workflow_templates.html On Thursday, September 6, 2018 at 2:57:47 AM UTC-7, Pradeep Drall wrote: > > Hi, > I created CI CD pipeline

Re: [ansible-project] vmware_guest requires datacenter to display VM's facts

2018-09-06 Thread Michael Gimm
Hi guys I still have this same issue even on a 2.6.3 version of Ansible and a 6.7 vSphere system vsphere_guest works, vmware_guest_facts does not. Any progress or hints from the group would be most welcome :0) Thanks On Wednesday, October 4, 2017 at 5:13:16 PM UTC+2, thirsch...@gmail.com

[ansible-project] Re: To list the target host's name and it's IP address using facts

2018-09-06 Thread Tony Chia
Assuming each host has only one ip address. how about this? # for linux # - name: display ansible_default_ipv4.address #debug: # var: ansible_default_ipv4.address # for windows - name: display ansible_ip_addresses debug: var: ansible_ip_addresses - name:

Re: [ansible-project] Re: Ansible copy module not working recursively--or with dirs

2018-09-06 Thread Brian Coca
for speed you want rsync or synchronize module, copy is not meant for bulk copying. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email

[ansible-project] Spaces in group names?

2018-09-06 Thread Carter, Stephen
I was messing around with VMware inventory, and grouping off of the VM Folder however, ours have spaces in the names for some of them. When I target them ansible is treating them as two items, rather than a single. Is that intended behavior, or a workaround? -- You received this message

Re: [ansible-project] Re: Ansible copy module not working recursively--or with dirs

2018-09-06 Thread John Harmon
On Thursday, September 6, 2018 at 10:54:45 AM UTC-6, Brian Coca wrote: > > fileglob only does files, not directories, you want filetree or just > pipe 'find files/*' .. or `src=files/` and avoid the loop > > -- > -- > Brian Coca > I thought I had tried that before, but I guess not.

Re: [ansible-project] Re: Ansible copy module not working recursively--or with dirs

2018-09-06 Thread Brian Coca
fileglob only does files, not directories, you want filetree or just pipe 'find files/*' .. or `src=files/` and avoid the loop -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

[ansible-project] Re: Ansible copy module not working recursively--or with dirs

2018-09-06 Thread John Harmon
My ansible version: ansible-2.6.3-1.el7.noarch -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this

[ansible-project] Ansible copy module not working recursively--or with dirs

2018-09-06 Thread John Harmon
It is probably something I am doing wrong--I will be the first to admit it. I want to copy files from my ansible server to a bunch of remote hosts. I need this to work recursively. Unfortunately it just copies the file1.txt file at the root of the src, and nothing else. Thoughts? File

[ansible-project] To list the target host's name and it's IP address using facts

2018-09-06 Thread Pandu jh
I need to list the target host's name and IP address using set_fact. Below is my playbook, but it's giving error. hosts: all tasks: - set_fact: data: "{{ ansible_all_ipv4_addresses }}" - set_fact: ip: "{{ data.split(',') }}" - name: Show the devices

[ansible-project] Standalone ESXI with Vmware (Evaluation Version ESXI)

2018-09-06 Thread Bishwajit Samanta
Dear Team, I want to Run some shell commands in Vmware through Ansible. But i am facing Some errors. If possible can you help me. - name: Run command inside a vm vmware_vm_shell: hostname: 192.168.119.129 username: x password: xx datacenter:

[ansible-project] Create CI CD pipeline in Ansible

2018-09-06 Thread Pradeep Drall
Hi, I created CI CD pipeline in jenkins for our Development, UAT and production environment. Can I create the CI CD pipeline in ansible / ansible tower and deploy our build in our Development, UAT and production environment without using Jenkins. If so, please do let me know the steps.

[ansible-project] Roles calling

2018-09-06 Thread Abhijit Chakraborty
hello all, I am just starting to play with Ansible roles. I have a file named main.yml where i am calling three roles roles: a.yml b.yml c.yml Mu question is whether this three roles will get called all at once or will role b get executed only when