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:
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}}"
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
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
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
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:
>
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
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
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
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
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
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:
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
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
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.
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
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
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
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
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:
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.
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
22 matches
Mail list logo