[ansible-project] Re: Why playbook take wrong values for group variables?

2018-05-01 Thread Tony Chia
Do you have the following files defined? /group_vars/group_A.yml /group_vars/group_B.yml /group_vars/all.yml /inventories/group_vars/all.yml also, maybe try using "hosts: *group_B" in *playbooks/playbook.yml instead of "hosts:*all"* On Sunday, April 29, 2018 at 1:39:59 AM UTC-7, Олег Боровых wr

[ansible-project] lineinfile module gives error: "chown failed: [Errno 1] Operation not permitted:

2018-05-01 Thread Malcolm Hussain-Gambles
You're trying to change the ownership of a file to root, you need to be root to do that Cheers Malcolm -- 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 ansi

[ansible-project] Can't Access to Jenkins from anywhere

2018-05-01 Thread Malcolm Hussain-Gambles
By locally you mean??? Using localhost? -- 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 group, s

[ansible-project] Re: Using ansible to manage windows 10 vm software applications with no Internet Access

2018-05-01 Thread Matt Davies
Hi Jon Thanks for getting back to me. Your plan was what I was thinking of doing, or something along those lines anyway. Due to me being such a lazy beggar I was hoping someone would have written up the process of building that sort of system, with all the pitfalls and things to watch out for

Re: [ansible-project] Ansible - Passing environment variables through files

2018-05-01 Thread Karl Auer
Not sure this is useful (you seem way ahead of me) but I pass e.g. "-e env=blah" to ansible-playbook. In my playbook (or wherever) I have include_vars:, and I specify e.g. "path/to/{{env}}.yaml". As long as all the environment files have the same variables in them (with different values), it work

[ansible-project] Ansible - Passing environment variables through files

2018-05-01 Thread Ashish Srivastava
Hi All, I've have searched literally all the available medium on internet for this issue but could not find the solution. So decided to raise the problem in this group. I've a project having number of environments such as dev1, dev2, dev3, sit1, sit2 and so on, with total of 20 environments. T

Re: [ansible-project] Re: Unable to run playbook (Syntax Error)

2018-05-01 Thread Brian Coca
so from emai (not a good source) the indentations were off in many places, this is a 'fixed' version of your play: - name: get version hosts: all gather_facts: false connection: local tasks: - name: run multiple commands on remote nodes ios_command: commands: - sh

[ansible-project] Ansible include tasks and get response.

2018-05-01 Thread Madushan Chathuranga
Hi, Is it possible to execute a another yaml file with in a yaml file (import or include) passing arguments and register its output? Or else return it's output and assign to a variable Thanks. -- You received this message because you are subscribed to the Google Groups "Ansible Project" gro

[ansible-project] Re: Using 2 ansible versions

2018-05-01 Thread Varun Chopra
Thanks man. Wasn't sure if i should run ansible from source or install it in the virtualenv using pip. On Tuesday, May 1, 2018 at 3:59:36 PM UTC+5:30, Varun Chopra wrote: > > Hi, > > I'm trying to install Ansible 2.3 on a server with 2.5 already present. > > I built and installed virtualenv and d

[ansible-project] recommended indent style for tasks

2018-05-01 Thread Josef Fortier
I'm modifying an EOL vim ansible plugin for my own use and am wondering about indent style. In the Ansible Intro to Playbooks doc ( http://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html ) there are two separate styles on the same page: At the start of the doc, each task item ha

Re: [ansible-project] Using 2 ansible versions

2018-05-01 Thread Kai Stian Olstad
On 01.05.2018 12:29, Varun Chopra wrote: Hi, I'm trying to install Ansible 2.3 on a server with 2.5 already present. I built and installed virtualenv and download ansible 2.3 and initiated a virtualenv using source ./hacking/env-setup Will this new installation hinder with the 2.5 install in

[ansible-project] Using 2 ansible versions

2018-05-01 Thread Varun Chopra
Hi, I'm trying to install Ansible 2.3 on a server with 2.5 already present. I built and installed virtualenv and download ansible 2.3 and initiated a virtualenv using source ./hacking/env-setup Will this new installation hinder with the 2.5 install in any way? How long does the virtualenv exis

Re: [ansible-project] winrm not installed on CentOS - winrm added from epel

2018-05-01 Thread Panagiotis Filopoulos
I LOVE YOU! On Monday, 2 January 2017 11:18:04 UTC+1, Jean-Yves LENHOF wrote: > > Hi, > > You probably need python-requests too > yum install python2-winrm python2-requests_ntlm python-requests > > To debug to see what package is needed, you can run python interactively > and do import winrm, it

[ansible-project] Can't Access to Jenkins from anywhere

2018-05-01 Thread yfa
I have installed the jenkins roles ans it works fine locally. I want to access to my jenkins server with IP:8080 /hostname:8080 but it doesn't works. System config: Ubuntum 16.04 Linux VM (Azure) Jenkins roles : geerlingguy .jenkins https://galaxy.ansi

Re: [ansible-project] Re: VMware - convert template to virtual machines

2018-05-01 Thread Edward Ahern
Cheers Nick, Plenty there to get stuck into there, appreciate it Ted On Tue 1 May 2018 at 03:25, Nick Rogers wrote: > Ok, here you go, it's still in progress, but it's up. > > https://github.com/nickrnet/ansible-vmware > > > On Saturday, April 28, 2018 at 5:32:41 AM UTC-5, Ted wrote: > >> Hi N