Re: [ansible-project] action_plugin/ vs library/ module

2016-01-27 Thread Mike Biancaniello
IYI, my eventual solution involves creating a blank change-mgmt ticket with a callback_plugin in init(). I then store the ticket number that is created in __main__.cli.ticket_number. Then, the first pre-task of my playbook calls my action_plugin to read the ticket_number from __main__.cli and

[ansible-project] Re: Windows 2008 R2 - WinRM and disabling TLS 1.0

2016-01-27 Thread J Hawkesworth
Not hit this myself, but seems likely its coming for many of us. Just wondering if bouncing the winrm service might fix this? or a Restart-Computer (I'd recommend the win_reboot role on galaxy if it really does need a reboot) - so many things in windows still need a reboot :-( I guess it will

[ansible-project] Re: win_firewall_rule "The property 'failed' cannot be found on this object. Verify that the property exists."

2016-01-27 Thread Joe Levis
Yep, that works! Thanks Jon. Once again, you've helped me overcome a major hurdle. -Joe On Wednesday, January 27, 2016 at 2:59:47 AM UTC-8, J Hawkesworth wrote: > > This is likely due to the change to enforce strict mode which was > introduced in ansible 2. > > There is an issue open on this

Re: [ansible-project] Can't execute reomte script

2016-01-27 Thread Brian Coca
so no errors on execution of the script, I don't think the issue is with ansible at this point. -- 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] Fwd: Using Ansible To Set "DesiredCapacity" In EC2 Autoscaling Group

2016-01-27 Thread Tennis Smith
Oops. Posted to wrong group. Apologies. On Tuesday, January 26, 2016 at 8:56:49 PM UTC-6, Tennis Smith wrote: > > > Hi, > > I have an autoscaling group which normally has a desired capacity of 0. > It is used only for database restorals. When we want to do a restore, we > set the

[ansible-project] Re: Ansible 2 template src path changed ?

2016-01-27 Thread Nicolas G
As suggested by James Camarata in the webinar , the template module code has changed a lot. I'v created an issue in https://github.com/ansible/ansible/issues/14161 . On Tuesday, January 26, 2016 at 1:23:59 PM UTC-5, Nicolas G wrote: > > Hi > > I have the bellow template stored under the shared

[ansible-project] ec2_metric_alarm doesn't detect SNS notification

2016-01-27 Thread Bhotu
Here is my ansible-script to create alarms and notification through ec2_metric_alarm module. I can successfully create the scaling part, but I cannot able to create the SNS notification. - name: Create or delete AWS metric alarms metrics you wish to alarm on must already exists

Re: [ansible-project] Re: Running playbook from a cron jobs fails

2016-01-27 Thread Brian Coca
check the python path On Wed, Jan 27, 2016 at 2:25 AM, Uwe Kruse wrote: > Hello, i tried some playbook runs with an without paramiko. There ist > always the same problem and i think that the module ansible-playbook has th > root cause. I use the same user in the ssh

[ansible-project] Re: Ansible 2.0 VMWare modules

2016-01-27 Thread kamil . szczygiel
I've added skip_ssl argument to module_utils/vmware.py. Perhaps that's not the best implementation... https://github.com/kamsz/ansible On Wednesday, January 13, 2016 at 6:54:29 PM UTC+1, Larry Smith wrote: > > Just getting started messing with these new 2.0 VMWare modules and seem to > be

[ansible-project] Re: Ansible 2.0 VMWare modules

2016-01-27 Thread kamil . szczygiel
I've added skip_ssl argument in module_utils/vmware.py, perhaps that's not the best implementation of this. https://github.com/kamsz/ansible -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

[ansible-project] ansible launching a vm

2016-01-27 Thread Vladimir Hale
Hello, I'm trying to launch a vm on a private openstack cloud. Can anyone please tell me where I should put the Openstack controller address in the playbook. I can find only examples with hosts: localhost. The openstack controller node is 10.26.253.15 and the ansible server is 10.1.1.1. ---

[ansible-project] ec2 module and new longer EC2 instance ID format

2016-01-27 Thread Gavin Davies
Hello, Recently, AWS announced they would change to a longer EC2 instance ID format . I opted in for all regions and any nodes I create manually through the AWS console have the new, longer format. The

[ansible-project] Re: Variable precedence (again sorry)

2016-01-27 Thread brian . lycett
> > I've got a similar issue that would be solved by inventory variables > having a higher precedence. > We have several environments, e.g. test, dev, preprod etc. They use the same roles and groups - web, app, db etc. But there are some things per environment that vary. For example, as

Re: [ansible-project] How to get real time output from ansible-playbook process when called in PHP?

2016-01-27 Thread Sally Paner
Hi Brian; I've resolved my problem by installing ansible through git because it pulls the latest version of ansible. My previous ansible was installed through yum. Thanks. On Thursday, January 21, 2016 at 9:51:06 PM UTC+8, Brian Coca wrote: > > you are probably buffering the output in php

[ansible-project] Deploying Galaxy 2.0

2016-01-27 Thread Chris Houseknecht
Starting the deployment of Galaxy 2.0. There may be a small service interruption between 6:10 and 6:30AM EST this morning. --Chris Chris Houseknecht @chouseknecht Lead Galaxy Engineer RedHat | Ansible -- You received this message because you are subscribed to the Google Groups "Ansible

[ansible-project] Re: Deploying Galaxy 2.0

2016-01-27 Thread Chris Houseknecht
Galaxy 2.0 is live. Please report any issues at https://github.com/ansible/galaxy-issues. --Chris On Wednesday, January 27, 2016 at 6:09:42 AM UTC-5, Chris Houseknecht wrote: > > Starting the deployment of Galaxy 2.0. There may be a small service > interruption between 6:10 and 6:30AM EST this

Re: [ansible-project] Can't execute reomte script

2016-01-27 Thread Christophe Dumont
ansible-playbook start_jmeter_server_remote_1.yml --ask-sudo-pass - SUDO password: PLAY [JMETER_REMOTE_VM] *** GATHERING FACTS *** <130.190.250.66> ESTABLISH CONNECTION FOR

[ansible-project] Re: win_firewall_rule "The property 'failed' cannot be found on this object. Verify that the property exists."

2016-01-27 Thread J Hawkesworth
This is likely due to the change to enforce strict mode which was introduced in ansible 2. There is an issue open on this module https://github.com/ansible/ansible-modules-extras/issues/1406 If you can't wait for the module to be fixed you could try setting strict mode off at the start of the

[ansible-project] Single quotes inside Jinja2 string literals

2016-01-27 Thread Christian Thiemann
How can I include single quotes in single-quoted Jinja2 string literals in Ansible 2.0? Minimal test case: --- - hosts: localhost tasks: - debug: msg="{{ 'foo\'bar\'baz' }}" Ansible 1.9.4: ok: [localhost] => { "msg": "foo'bar'baz" } Ansible devel: fatal: [localhost]: FAILED! =>

[ansible-project] Debugging hang at the end of a playbook run

2016-01-27 Thread Tim Moore
Often (but not always) when I run ansible-playbook with one of my playbooks, the entire thing will seem to run successfully, but at the very end of the run (after printing the PLAY RECAP section) it hangs rather than exiting and returning to the shell. I've tried leaving it for ~30 minutes and

[ansible-project] connection=local skips all remaining plays although only one host failed

2016-01-27 Thread Jesse Schlüter
Hello everyone, I have a small problem and I am not sure whether this is a bug or "works as defined". We have a few Junos devices we are configuring and they require ansible_connection=local, but since 2.0 if one of the hosts/inventory items fails, he does not simply skip this one host, but