[ansible-project] Re: Ansible copy file on remote machines on different location.

2017-03-09 Thread niraj pandey
Can someone please help me on this. On Friday, March 3, 2017 at 3:24:46 PM UTC+5:30, niraj pandey wrote: > > I tried this but it copying the file on both the location on both the > machines. > > On Friday, March 3, 2017 at 3:03:04 PM UTC+5:30, niraj pandey wrote: >> >> >> >> down votefavorite

Re: [ansible-project] Suggestion: version-specific documentation

2017-03-09 Thread Brian Coca
One thing that guarantees that the docs are specific to your version `ansible-doc` it shows the same module docs (same info is used to render html) but uses your 'current' modules. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible

[ansible-project] Suggestion: version-specific documentation

2017-03-09 Thread Guy Knights
One thing I find a little frustrating about the online documentation for Ansible is that there's no way to look at the docs for a specific version. I realise that a lot of people just use the devel branch but there are those of us that stick to a specific version. When I'm looking at the docs for

Re: [ansible-project] Escaping a single backslash in the "replace" part of a regex_replace

2017-03-09 Thread Dick Visser
Your regex is fine, and there is really only one backslash in the output. It's the escaping of debug that is fooling you. Try adding this task and check the content: - copy: dest: /tmp/test content: "{{ ini }}" Dick On 8 March 2017 at 12:40, 'akuma d' via Ansible Project

Re: [ansible-project] Re: Codedeploy Support

2017-03-09 Thread stark
Thanks for the reply. Looks like you are right, the tools are there, just no one has done it yet. I've never contributed to the Ansible codebase before but Ill take a stab at it over the next couple weekends and see if I can't get something better than using the "command: aws deploy

Re: [ansible-project] Dealing with Inventory File Proliferation

2017-03-09 Thread Spike
I'm facing a similar problem and the way I'm looking at solving it is dynamic inventories. I've also considered using multiple inventories + symlinks (nto sure that works tho). See:

Re: [ansible-project] Installation issue (asciidoc error)

2017-03-09 Thread Dick Visser
hi You're missing the asciidoc package, which provides the a2x command. Did you install that (as per docs at http://docs.ansible.com/ansible/intro_installation.html#latest-release-via-yum)? Dick On 8 March 2017 at 16:55, Rajesh Shan wrote: > I tried to install Ansible in

Re: [ansible-project] deployment notifications - for all cases - OK and failed.

2017-03-09 Thread epiq sty
I've got the reason of 404 error. Seem's that +SLACK_CHANNEL (optional): Slack room to post in. Default: #ansible is not optional - as we have not special #ansible channel in our slack , we use *another *channel for testing deploys notification. So callback start sending messages

Re: [ansible-project] Setup module finding package information

2017-03-09 Thread Kai Stian Olstad
On 07.03.2017 17:15, Drew Mullen wrote: Can the setup module provide information like: - is java install? - which versions are installed? - where are they installed? I noticed in my first test run of the module that python is investigated but didn't see other software / tools (or in the

[ansible-project] RDS

2017-03-09 Thread daniel
Hi i an mew to ansible and i cant get an rds snapshot to be deployed using ansible. can enyone send me an working yml file that i can rebuild it in my DR script please Disclaimer The information contained in this communication from the sender is confidential and may be legally privileged. It

[ansible-project] Setup module finding package information

2017-03-09 Thread Drew Mullen
Can the setup module provide information like: - is java install? - which versions are installed? - where are they installed? I noticed in my first test run of the module that python is investigated but didn't see other software / tools (or in the source code). -- You received this message

[ansible-project] Dealing with Inventory File Proliferation

2017-03-09 Thread David Lane
Hi, I've inherited a complex deployment system which is steadily getting more complex. This is fine, except we also have multiple instances of this system (several variants of Production and Dev plus many, many developer instances). Currently all of our inventory files are long, very similar

[ansible-project] datacenter inventory layout recommendations

2017-03-09 Thread jerry
Hi, We are looking at deploying ansible as our new automation base. we currently have 1500-2000 machines to manage in multiple data centers. We also have 50+ app/services type that we have written internally as well as the standard infrastructure servers and such. It seems like getting the

[ansible-project] Re: file module: absent recurse=yes and Directory not empty

2017-03-09 Thread Diego Villacis
Getting the same error, does anyone know if there is any update on this? On Friday, April 4, 2014 at 8:48:33 AM UTC-5, Maxim Odinintsev wrote: > > Hello, > > When I'm run this job, but on some hosts return output: > rmtree failed: [Errno 39] Directory not empty: >

[ansible-project] How to read the --limit command line option

2017-03-09 Thread Marco Buttu
Hi all, I would like to get the value of --limit. For instance, let's have this command: $ ansible-playbook site.yml --limit foo I would like to read {{ limit }} from a task. Is there a solution or do I have to do something like the following? $ ansible-playbook site.yml --limit foo -e

[ansible-project] How to use extra ansible modules?

2017-03-09 Thread Chang Zhi
hi, I'm a new man to using ansible. I have some simple questions about how to use ansible modules. I want to use the openvswitch module[1]. What commands should I execute ? Should I use " ansible " or "ansible-playbook" ? Thanks Zhi Chang [1]:

[ansible-project] ec2 fails on botocore / boto3 required

2017-03-09 Thread AutoMac
Running on Mac with Sierra and using Ansible v 2.2.1.0, with the latest versions of pip, botocore, boto3 installed. Tried uninstalling and reinstalling and power cycled the system. Also tried running with elevated privileges with out success. Failed on Nat gateway with error

[ansible-project] Roles, vars, defaults, and pre_tasks.

2017-03-09 Thread Dan Linder
I'm trying to split up a large playbook into roles and it's going pretty well except I'm having trouble with variables not being pulled in from the roles vars or defaults files. My playbook has this test playbook with a pre_task: --- - hosts: all # vars: #doreboots: true #

Re: [ansible-project] Installing Ansible on AIX

2017-03-09 Thread Jon Stanley
On Tue, Mar 7, 2017 at 2:49 AM, Mona Gopal wrote: > > Have been referring to the below link, but hasn't been of much help: > https://www.djouxtech.net/posts/ansible-on-aix/ Not an AIX expert (or even novice), but in what way has this not been of help? It explains what

[ansible-project] Escaping a single backslash in the "replace" part of a regex_replace

2017-03-09 Thread 'akuma d' via Ansible Project
Hi, I need to replace a dot in a string with a "\!". I am using "regex_replace" but am unable to get the regex to print a single backslash. I have tried escaping it using double-backslash but that gives me 2 backslashes in the output. Interestingly escaping using 4 backslashes also gives 2

[ansible-project] Ansible on Windows host with two FQDNs

2017-03-09 Thread MKPhil
Hi, I posted a similar question over on Stack Overflow but without any helpful replies so I thought I'd try this group too... I don't think it is an Ansible question per se but has arisen from our use of Ansible We have Windows servers with two NICs, two separate IPs and two FQDNs in DNS,

[ansible-project] How to get the --limit command line option

2017-03-09 Thread Marco Buttu
Hi all, I would like to read the --limit command line option. For instance, let's have the following: $ ansible-playbook site.yml --limit foo I would like the tasks to read {{ limit }}. Is it possibile or do I have to duplicate thinks like in the following? $ ansible-playbook site.yml --limit

[ansible-project] Installation issue (asciidoc error)

2017-03-09 Thread Rajesh Shan
I tried to install Ansible in RHEL 7.2 server. But it give the following error : [root@ip-172-31-23-152 ansible]# make rpm sed "s/%VERSION%/2.3.0/" docs/man/man1/ansible.1.asciidoc.in > docs/man/man1/ansible.1.asciidoc ERROR: AsciiDoc 'a2x' command is not installed but is required to build