Re: [ansible-project] Re: Does the ansible-playbook command can be run in background ?

2016-01-07 Thread Javier Palacios
On Wed, Dec 30, 2015 at 3:40 AM, chris meyers wrote: > Please be more specific. What is nohup lacking that salt --async has that > you would like? > Ansible is interactive by nature, so it uses stdin. Using nohup will only work if the playbook runs very nicely. Any arising question (for example,

[ansible-project] Re: ansible_ssh_port behaving differently on v2

2016-01-07 Thread DomaNitro
Ok sorry http://docs.ansible.com/ansible/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable :) v2 ansible_port On Wednesday, January 6, 2016 at 4:51:50 PM UTC+1, DomaNitro wrote: > > Hey, > > I noticed something on v2 not sure if its a bug. > > debug: msg="{{ ansible_ss

[ansible-project] Dynamically deploying multiple exclusive SSH authorized_keys

2016-01-07 Thread cmacrae
Hi all, Further misunderstandings on my part for iterating over varied YAML structures, but here's the deal: I'm writing a super tiny role with the intent of dynamically deploying any authorized_keys defined in a host/group's vars. That is to say, I need a task that will deploy keys to varied us

Re: [ansible-project] [Ansible 2.0 RC3] os_server_facts module - is not a valid attribute for a Play

2016-01-07 Thread Stavros
Hi there, I upgraded to 2.0 RC3 and tested the os_server_facts module...and still get the same error: ERROR! 'os_server_facts' is not a valid attribute for a Play -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this g

Re: [ansible-project] Purpose of apt_rpm module?

2016-01-07 Thread Brian Coca
its for using apt-rpm which is a utility that adds a 'apt like wrapper' around rpm, this is targeted at rpm based distros. http://apt-rpm.org/about.shtml - Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscrib

Re: [ansible-project] Creating a System User still creates a home directory

2016-01-07 Thread Uberteck
No, adding 'createhome=no' stops it creating a home directory and is what I am currently using (in addition to system=yes) as a workaround to get the desired result. I just tested and the home directory is created on the first run - on initial user creation. I also tested manually running a 'u

[ansible-project] Permission change based on file extension using ansible

2016-01-07 Thread Arbab Nazar
I want to change the permission of the file based on it's extension using ansible, for example I have directory test and within this directory I have a lot of shell script(.sh) and python(.py) files. I want to change the permission of shell script to 0700 and python files to 0644. Can you please

[ansible-project] Ansible 2.0 RC4 is available for testing

2016-01-07 Thread James Cammarata
Hi all, as mentioned yesterday the 2.0 RC4 release is now available for testing. This release candidate includes the following bug fixes (as well as some other minor ones): * bugs in the free/linear strategies related task iteration, where some tasks could be skipped if they occured in rescue/alw

[ansible-project] Inheriting static group_var data with dynamic inventory?

2016-01-07 Thread Josh Smift
AQ (https://github.com/caredotcom/ansible-quartermaster) might be of interest. -Josh (j...@care.com) This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use,

[ansible-project] default in template seemed to stop working in 2.0rc4

2016-01-07 Thread pixel fairy
from template file, -A INPUT -i {{ ansible_default_ipv4.interface }} -p tcp --dport {{ ansible_port | default (22) }} -j ACCEPT outputs -A INPUT -i eth0 -p tcp --dport -j ACCEPT setting ansible_port works as normal. -- You received this message because you are subscribed to the Google Gro

Re: [ansible-project] concatenate variables and strings in file lookup

2016-01-07 Thread Brian Coca
moustaches don't stack and concatenation (+) does not work outside moustaches: authorized_key: user=root key="{{ lookup('file', role_path + '/files/public_keys/' + item.1) }}" On Thu, Jan 7, 2016 at 3:16 PM, Colin Byrne wrote: > Hey so I have a list of developer names in a dictionary and I am t

Re: [ansible-project] concatenate variables and strings in file lookup

2016-01-07 Thread Colin Byrne
Ha, awesome. Thanks a lot Brian, you are the man... On Thursday, January 7, 2016 at 1:27:29 PM UTC-8, Brian Coca wrote: > > moustaches don't stack and concatenation (+) does not work outside > moustaches: > > authorized_key: user=root key="{{ lookup('file', role_path + > '/files/public_keys/'

[ansible-project] README.md files for Ansible plugins

2016-01-07 Thread Tom Paine
The supplied plugins, like the *callbacks* and *filters* , have the potential to be a great resource. Unfortunately, they are lacking standardi

Re: [ansible-project] README.md files for Ansible plugins

2016-01-07 Thread Brian Coca
On my wishlist I have an item to generate docs for ALL plugins like we currently do for modules/task plugins, if we standardize on 'external' rst or go again for an 'in module doc' is yet to be decided. But at this point any docs are welcome. -- Brian Coca -- You received this message because y