[ansible-project] Check mode for Windows modules

2016-05-04 Thread 'J Hawkesworth' via Ansible Project
There's no reason I can think of why it couldn't be done, but I don't think any core windows modules support check mode at the moment. Might be worth a check of the extras modules if you are interested in adding support. I don't particularly miss the lack of check mode. As I have got more

[ansible-project] Re: Unable to install nodejs from nodesource apt repo with apt module

2016-05-04 Thread james
Seems to not bespecific to node, but when update_cache: true. On Wednesday, May 4, 2016 at 11:06:07 AM UTC-7, ja...@blendlabs.com wrote: > > Anyone by chance know why this is no longer working on ansible 2.0.0.2? > > The apt repo definition is deb https://deb.nodesource.com/node_4.x trusty >

[ansible-project] Check mode for Windows modules

2016-05-04 Thread hodgese
Is there a way to implement check mode in a custom Windows module? I didn't see anything in the documentation about it, and none of the several core modules I checked contained an example. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Ansible

[ansible-project] Re: Is there a json module yet?

2016-05-04 Thread james
or from_json filter, modify in ansible, and write it back. what's limiting the use of templates? On Monday, May 2, 2016 at 11:59:15 AM UTC-7, Will LaSeur wrote: > > I'm looking for a quick way to update a json file without needing to > template the file. I want to be able to change the values

[ansible-project] Re: Unable to install ansible 2.0.0.2 via pip

2016-05-04 Thread james
Eh, would nice if pip transitive dependencies were version locked. Any idea if it would cause this -> https://groups.google.com/forum/#!topic/ansible-project/_m3WUcBYmZY ? On Wednesday, May 4, 2016 at 11:00:05 AM UTC-7, ja...@blendlabs.com wrote: > > Has anyone seen this when trying to install

Re: [ansible-project] Unable to install ansible 2.0.0.2 via pip

2016-05-04 Thread Matt Martz
paramiko 2.0 changed their dependency from pycrypto to cryptography. cryptography has a dependency on cffi, which requires libffi-dev. Looks like paramiko 2.0 was released on 2016-04-29 On Wed, May 4, 2016 at 1:00 PM, wrote: > Has anyone seen this when trying to install

Re: [ansible-project] Re: Same host in inventory twice with two different ports, not working

2016-05-04 Thread Matt Hite
Try using "ansible_ssh_port" rather than hostname:port. On Wed, May 4, 2016 at 5:39 AM, Alexey Vazhnov wrote: > I think what better solution for storing SSH settings (hostname, port, > username, proxycommand, identityfile …) is ~/.ssh/config. > > On Friday, April 29,

Re: [ansible-project] Re: Use Ansible to discover/document an environment

2016-05-04 Thread Jon Dison
Yes, https://github.com/fboender/ansible-cmdb Is what I settled upon. Going forward we're looking at a process to dump the facts into a database that has a web fronted, but for now the ansible-cmdb does fine. On Wed, May 4, 2016 at 9:47 AM, 'J Hawkesworth' via Ansible Project <

[ansible-project] Re: Use Ansible to discover/document an environment

2016-05-04 Thread 'J Hawkesworth' via Ansible Project
This project might be a help for you: https://github.com/fboender/ansible-cmdb It generates a static site but you can specify your own templates (jinja2 so already familiar) so you could use that to generate different output. Hope this helps, jon On Wednesday, May 4, 2016 at 12:56:01 PM

[ansible-project] Re: Same host in inventory twice with two different ports, not working

2016-05-04 Thread Alexey Vazhnov
I think what better solution for storing SSH settings (hostname, port, username, proxycommand, identityfile …) is ~/.ssh/config. On Friday, April 29, 2016 at 4:11:48 AM UTC+5, John Gateley wrote: > > Hello, > > I have an inventory file with the same host twice, once using ssh on port > 22, once

[ansible-project] Re: dynamic inventory - hostname or ip address

2016-05-04 Thread Alexey Vazhnov
You can use in ec2.ini: tag_destination_variable = Name On Friday, April 29, 2016 at 9:47:24 AM UTC+5, Bill WANG wrote: > > Hi all, > > I got dynamic inventory for ec2 instances via ansible. But the host in > export are all IP addresses. > > > In ec2.ini > > vpc_destination_variable =

[ansible-project] Multi-dimensional group_vars ?

2016-05-04 Thread Renaud Guerin
Hi, I have a variable "elasticsearch_heap_size" that can take 4 different values depending on 2 dimensions: - the host being an Elasticsearch master or data node - whether it's in production or development. At the moment, I have 2 inventory files "production" and "development", and I set the

[ansible-project] Re: Use Ansible to discover/document an environment

2016-05-04 Thread Anil Dasmala
Hi Jon, I'm also trying to achieve the same, can you please share if you have made any progress with documenting facts to csv. On Wednesday, November 4, 2015 at 1:07:39 AM UTC+5:30, Jon Dison wrote: > > I'm wondering if anyone has any existing playbooks and/or scripts to go > through an

[ansible-project] Re: StartProcess doesn't work with raw

2016-05-04 Thread 'J Hawkesworth' via Ansible Project
When you say 'spawning new Windows' it makes me think maybe you are expecting applications to start up and display a graphical user interface? You are unlikely to be able to do this as you won't have an interactive user session (just winrm remoting session). Starting services and command

[ansible-project] Re: No Kerberos Credentials available and unspecified GSS Error: Ansible Tower

2016-05-04 Thread 'J Hawkesworth' via Ansible Project
For Ansible Tower support see https://support.ansible.com/hc/en-us Might be worth checking you have installed the python library that allows python to work with the kerberos libraries if you start python and run import kerberos if you get an error message then you are missing the python