[ansible-project] docker_service fails to bring up docker-compose.yml when image has a tag?

2017-01-04 Thread Gerald Spencer
As the title states, docker_service fails when I try to launch a docker-compose file that includes an image tag. The odd thing is that this docker-compose.yml works when I am on the host machine... The task works if I leave out the tag.. Currently using ansible 2.2.0.0 Error: raise NoSuchImage

[ansible-project] ios_config module - Cisco Small Business switch family

2017-01-04 Thread Islan Rocha
hello everyone I spended last 2 days trying to use ios_config module against SG300 switch. I late discoverd this switch family doesn`t use Cisco IOS although has a CLI. :facepalm Is there anyone here that manage Cisco Small Business switches with ansible? Best regards, -- You received this

[ansible-project] Ansible Cloud Module

2017-01-04 Thread Shyam Yenna
I am trying to create a role for aws vpc creation. one of the task is to create an elastic ip address and associate that ip address to nat gateway instance. if i run multiple times playbook it is recreating elastic ip but i would like to find a viable solution to make it idempotent. Please can

[ansible-project] Re: Latest update to get_url forces absolute dest url

2017-01-04 Thread David Binney
Looks like i have make a work around myself. This will just grab the directory one level above the source script location. - name: Get build path shell: echo $(dirname `pwd`) register: build_path - debug: msg="Using build path {{ build_path.stdout }}" On Thursday, 20 Octo

[ansible-project] Install EXE on Windows

2017-01-04 Thread 'J Hawkesworth' via Ansible Project
Sounds like the application you are trying to install contains a dcom component. You might need to find a copy of dcomperm.exe and use it to grant launch and activation to the user you are running as, or possibly to the user that the dcom component is configured to run as. I can dig out some ex

[ansible-project] Setup Ansible server to manage several AWS Accounts using dynamic inventory?

2017-01-04 Thread challa . tek
How do i setup Ansible server to manage multiple Aws accounts using dynamic inventory, so, i have 20 Aws accounts and want to manage all those from single server (VPC's in all accounts are peered with each other), So i have Installed Ansible and setup boto profile one for each account, by creat

Re: [ansible-project] Help with package installation playbook

2017-01-04 Thread Kai Stian Olstad
On 04. jan. 2017 13:25, Cosimo Streppone wrote: That's right. I had "gathering=explicit" in my configuration file, since I had used ansible only for command execution, and obviously gathering facts was wasting lots of time for those kind of tasks. Thanks, that clears it. I tried overriding my c

Re: [ansible-project] Re: How to loop thru win_updates until no updates left

2017-01-04 Thread Danny Rehelis
Anyone? :-( On Tue, Jan 3, 2017 at 2:56 PM, wrote: > I've also read a post by Brian Coca which stated that "*blocks do not > support any type of loop*". > What other options can be used to re-run multiple tasks (one that > checks/installs updates and the other reboots the server) until no update

Re: [ansible-project] Help with package installation playbook

2017-01-04 Thread Andreas Olsson
ons 2017-01-04 klockan 13:25 +0100 skrev Cosimo Streppone: > ... > I'm still unsure about this error message when the facts gathering is > not happening: > > "Could not detect which package manager to use. Try gathering facts > or setting the \"use\" option." > > what is the "use" option? See ht

Re: [ansible-project] Help with package installation playbook

2017-01-04 Thread Cosimo Streppone
On Wed, Jan 4, 2017, at 05:42, Andreas Olsson wrote: > Indeed it looks as if facts aren't being gathered, which is kind of > odd, since it should happen by default. By then each play should > contain the following at the start. > > TASK [setup] > **

[ansible-project] sefcontext restorecon

2017-01-04 Thread Andy Mangion
Hi, I am using Ansible 2.2 and wanted to implement a step to set a selinux context of a file using the sefcontext module. After some work to get it to work on RHEL 7; it is successfully writing to the local policy file the new rules I defined however the files are still not getting the updates

[ansible-project] Install EXE on Windows

2017-01-04 Thread Ansible_Red
I want to install an EXE on Windows 2016 server. Other tasks (msi, regkey, add user) do work. - name: Install setup raw: 'D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp' When I execute D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp when logged in on the

[ansible-project] Hanging on setup.py process

2017-01-04 Thread David Binney
I am having a problem with all playbooks hanging on the setup.py process even when using localhost. This is probably due to the latest update to seirra but not sure how to resolve. I am running: Osx Sierra : 10.12.3 Python : Python 2.7.13 Playbook code : --- - hosts: 'localhost'

[ansible-project] Does vmware_migrate_vmk work for the Management interface (vmk0) ?

2017-01-04 Thread Paul Angus
Hi, I'm trying to migrate the management interfaces of ESXi hosts to dvSwitches. vmware_migrate_vmk module complains that the host is not added to the dvSwitch, which would be fair enough if i could add the host without having to specify a physical NIC (because it's use by the management vSwitc

Re: [ansible-project] Install package for point release

2017-01-04 Thread Kevin Csuka
Dang, thought you could come up with a solution :) You're an expert. But thanks for the reply. I'll find my way and create something creative. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

Re: [ansible-project] MYSQL Connectivity Issue in Ansible

2017-01-04 Thread Toshaan Bharvani | VanTosh
On 04/01/17 10:55, Mona Gopal wrote: On Wednesday, January 4, 2017 at 3:10:22 PM UTC+5:30, Toshaan Bharvani | VanTosh wrote: On 04/01/17 05:48, Mona Gopal wrote: > Hello, > > I have the below task > > mysql_user: login_user={{ db_user_root }} login_password={{ db_

Re: [ansible-project] MYSQL Connectivity Issue in Ansible

2017-01-04 Thread Mona Gopal
On Wednesday, January 4, 2017 at 3:10:22 PM UTC+5:30, Toshaan Bharvani | VanTosh wrote: > > On 04/01/17 05:48, Mona Gopal wrote: > > Hello, > > > > I have the below task > > > > mysql_user: login_user={{ db_user_root }} login_password={{ db_pass_root > > }} name={{ db_user }} password={{ d

Re: [ansible-project] MYSQL Connectivity Issue in Ansible

2017-01-04 Thread Toshaan Bharvani | VanTosh
On 04/01/17 05:48, Mona Gopal wrote: Hello, I have the below task mysql_user: login_user={{ db_user_root }} login_password={{ db_pass_root }} name={{ db_user }} password={{ db_pass }} priv=*.*:ALL,GRANT state=present We're facing issue on running this, from machine B to install on machine A.