Re: [ansible-project] Ansible 1.8 and recursive non-Galaxy dependencies

2014-10-27 Thread Toshio Kuratomi
We're still hashing this out. I believe the current code allows this but introduces other bugs that we need to figure out whether/how to solve. -Toshio On Oct 27, 2014 1:26 PM, "Collin Allen" wrote: > Hi folks, > > I see in the docs that ansible-galaxy in 1.8 will allow users to control > where

Re: [ansible-project] git ls-remote fails

2014-10-27 Thread Toshio Kuratomi
Some things to try: If you cut and pasted the ansible.cfg section, the spelling of the section header is incorrect: s/ssh_connectin/ssh_connection/ Check that you don't have an old control socket lying around in ~/.ansible/cp/ between fixing that problem or otherwise updating your ssh connection

[ansible-project] Ansible 1.8 and recursive non-Galaxy dependencies

2014-10-27 Thread Collin Allen
Hi folks, I see in the docs that ansible-galaxy in 1.8 will allow users to control where roles are fetched from using a new requirements.yml format. This is remarkably useful for privately-hosted roles, so thanks to everyone involved for all the work that has been put into this particular featu

[ansible-project] Create different sets of users on different sets of hosts

2014-10-27 Thread Paul Slootman
Hi, A new ansible user here... I've been perusing the mailing list archives and have gathered a lot of useful tidbits. I've been fairly successful in figuring out how to create a set of users on a list of hosts. However, what I'm not so clear about is how to create different sets of users on di

[ansible-project] Using (partially) host-specific lists with with_items

2014-10-27 Thread Tore Olsen
Hi, I want to use logentries to forward important log files. Most servers have the same files, but there are some which are specific based on which services are running. So I figured out one way to do this by using with_items like the example below, but I'm not sure if this is considered a

[ansible-project] stdout just md5sum and file name

2014-10-27 Thread Simon Tomazic
I would like to md5sum two conf files server.xml and server.xml_latest in the same folder on two instances on remote server. How can I get stdout just *"b9b82f9ad039e9d1b4c0233dbacf3934 /opt/tomcat-instance/fep21/conf/server.xml" *or somehow check if config file have same md4sum and stdout on

[ansible-project] "Incorrect sudo password" when trying to dynamically set ansible_sudo_pass

2014-10-27 Thread Aaron Caskey
Hi. I am trying to set up an environment using different passwords for different hosts: In ./group_vars/all I have the line: --- > ansible_sudo_pass: "{{ lookup('password', 'passwords/' + > inventory_hostname) }}" > #ansible_sudo_pass: (basically stolen from this page: http://serverfault.

Re: [ansible-project] error: with_dict expects a dict

2014-10-27 Thread Brian Coca
Can you rename hotfixes to avoid the dash?(-) and try again? -- 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 to ansible-project+unsubscr...@googlegroups.com. To

Re: [ansible-project] Template paths

2014-10-27 Thread Brian Coca
It looks for the file in the "base" directory or in the templates/ subdirectory. The "base" directory is the directory of the current play or role. On Mon, Oct 27, 2014 at 6:31 AM, Joe Adams wrote: > Is there somewhere that documents what paths are searched when inside a > template or in include

Re: [ansible-project] Is aptitude really needed?

2014-10-27 Thread Michael Wozniak
I usually use "dist" which does "dist-upgrade" which works for me without aptitude. I think dist-upgrade makes more sense anyway. I found this online describing the difference: >From the man-page: "upgrade is used to install the newest versions of all packages currently installed on the system

[ansible-project] the precedence of var_files includes when path is constructed from vars

2014-10-27 Thread Nick
Hello, Something I discovered about ansible this morning surprised me. Essentially: when loading vars files, anything loaded with a *dynamically constructed name depending on the host* seems to be lower precedence than those files with fixed names, or even dynamic names not depending on the h

[ansible-project] Strange behaviour or misconfig ? (RDS and local connection)

2014-10-27 Thread Nicolas G
Hi All, I'm using the bellow config in order to deploy Ansible in AWS with no problem , the *db* servers are actually *RDS* instances and the rest is all EC2 instances. ### inventory hosts file: [db] db1.example.com ansible_connection=local [web] web1.example.com web2.example.com web3.example

Re: [ansible-project] Template paths

2014-10-27 Thread Joe Adams
Is there somewhere that documents what paths are searched when inside a template or in include calls from within a template? I can't find much information about this at all. On Wednesday, October 22, 2014 9:22:05 AM UTC-4, Joe Adams wrote: > > I originally though it might be permissions, but bo