Re: [ansible-project] variable precedence seems hopelessly broken

2015-09-03 Thread Dan Stillman
On 9/3/15 10:11 AM, Greg DeKoenigsberg wrote: 3. Ensure that variable precedence is rigorously tested. Remember that 2.0 is still in alpha, and regressions should be temporary, so long as you help us by reporting them. We do have some unit and integration tests and we are working on cleaning them

[ansible-project] Ansible 1.9.3 has been released

2015-09-03 Thread James Cammarata
Hi all, 1.9.3 final has been released, and is now available. Ansible 1.9.3 fixes several bugs (mainly around TLS issues), including: * Fixes a bug related to keyczar messing up encodings internally, resulting in decrypted messages coming out as empty strings. * AES Keys generated for use in acc

[ansible-project] dynamic inventory scenario

2015-09-03 Thread James Addison
I'm trying to wrap my head around hosts files, dynamic inventory (Linode, for me) and creating/provisioning new nodes within this scenario. If I have a brand new project and I want to use Ansible to spin up a few linodes to handle it - how best can I visualize this? Keeping it simple, let's

Re: [ansible-project] ansible-playbook stops after include

2015-09-03 Thread Michael Legleux
The output shows no errors, nothing seems wrong. Running this playbook in devel, after qt5.yml is run, execution stops. If I reverse the order, it only runs wx_widgets.yml. Running this playbook in v1.9.3-0.3.rc3 results with both included playbooks being executed properly. I simulated the exec

[ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-03 Thread Asif Iqbal
Hi All I am trying to connect to some freebsd server with custom password prompt. So I need to use paramiko since sshpass hangs on custom password prompt. With -c paramiko now I get the following error... $ ansible - -m ping -c paramiko remote ESTABLISH CONNECTION FOR USER: root on PORT 22

Re: [ansible-project] Interpolation in Jinja2 default() values

2015-09-03 Thread Brian Coca
no mustache stacking key: "{{item.ssh_public_key | default('https://github.myenterprise.com/' + item.user + '.keys')}}" -- 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

[ansible-project] Interpolation in Jinja2 default() values

2015-09-03 Thread Mike Dillon
I'd like to do something like the following, but I couldn't find anything in the docs or on the mailing list that made it clear whether this should be possible or not: name: add user keys from GitHub authorized_key: user: "{{item.user}}" key: "{{item.ssh_public_key | default(\"

[ansible-project] Re: Bug? Windows - Ansible uses LDAP user not ansible_ssh_user!?!

2015-09-03 Thread J Hawkesworth
When you say 'it works' can you do more than a win_ping? Server 2008 R2 comes with WMF 3.0 which had a bug when first released. Worth at least checking that you have either upgraded to WMF 4.0 or have installed hotfix (see blue box here: http://docs.ansible.com/ansible/intro_windows.html#windo

[ansible-project] Re: winrm best practices? can we use ssh on windows instead?

2015-09-03 Thread J Hawkesworth
Ssh would be nice as a transport but until its a thing, creating a connection plugin for it would be kinda hard. On Wednesday, August 26, 2015 at 11:42:36 AM UTC+1, pixel fairy wrote: > > I was thinking about that given this workaround, > https://github.com/ansible/ansible/issues/10294#issuecomm

Re: [ansible-project] Re: RDS Module "promote" function not working. Reporting "ok", but not making a change.

2015-09-03 Thread Greg DeKoenigsberg
I would recommend opening an issue, yes. --g On Wed, Sep 2, 2015 at 4:40 PM, MB wrote: > Same problem here. No relevant output or error, but slave is not promoted. > We use Ansible 1.9.2 and Boto 2.37.0. > Should a Github issue be opened? > > > On Tuesday, June 23, 2015 at 12:07:28 PM UTC-5, Sen

Re: [ansible-project] variable precedence seems hopelessly broken

2015-09-03 Thread Greg DeKoenigsberg
On Wed, Sep 2, 2015 at 12:31 PM, Dan Stillman wrote: > I haven't received a response on this, but since I posted it, the various > variable precedence bugs I've reported have continued to reappear and > disappear through successive commits. Usually when one is fixed, another is > broken. One issue

Re: [ansible-project] Alerting on Disk Utilization using Ansible

2015-09-03 Thread Brian Coca
fact gathering does this for you already, the ansible_mounts key has 'size' and 'size available' for each mount. to do it manually just use 'setup' module directly. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscr

[ansible-project] How to persist variables/facts in ansible?

2015-09-03 Thread Diwaakartg Ganesh
checking out the documentation, modules like set_fact and register have scope only for that specific host. There are many purpose of using the variables from one host to another. Alternatives I can think of: 1. using Command module and echoing the variables to a file. Later, using

[ansible-project] Alerting on Disk Utilization using Ansible

2015-09-03 Thread Zeal Vora
Hi Is there any way were i can run Ansible on N number of servers and it will detect the Disk Space of each partition and if Disk Space > Specified Amount, it will give us an indication for the same. Which module will be suitable for this ? -- You received this message because you are subscri

[ansible-project] Re: win_updates not working

2015-09-03 Thread Trond Hindenes
According to the docs, you need to install PSWindowsUpdate first. http://docs.ansible.com/ansible/win_updates_module.html However, the module should ideally fail if you haven't done that. I would recommend that you file a bug for that in the ansible-modules-extra github repo if this is the case

[ansible-project] Re: Looping over roles ?

2015-09-03 Thread Filias Heidt
Am Dienstag, 5. November 2013 17:43:54 UTC+1 schrieb Michel Blanc: > > Fellows, > > I trying to wrap my head around a simple problem. > I have a playbook (role) that installs ruby with rbenv. > Actually, it uses ruby.version host/group variable to install the > correct ruby version : > > gro

[ansible-project] delegate_to works incorrectly with with_items

2015-09-03 Thread Roman Belyakovsky
Hello! I have an issue: delegate_to works incorrectly with with_items. I cannot collect missing facts. I've opened an issue but it was already closed. Is there anything wrong with my playbook? Thank you, Yours Faithfully, Roman Belyakovsky --