[ansible-project] Re: Failing to add a galaxy role with a "documentation_url" 404 error from github api

2015-10-04 Thread Alon Nisser
If anyone bumps into this error: turns out that 'documentation_url' has nothing to do with the ansible meta parameter with the same name, but just a sad coincidence.. :( The issue is really a 404 from github api trying to find the meta/main.yml file in the expected place. Which turns to be is

[ansible-project] Synchronize via sudo -- no tty present and no askpass program specified

2015-10-04 Thread johhue
Hello, I have seen many similar topics but want to make sure my issue is the same. Our enterprise is taking a look at Ansible to handle non-root tasks. I am trying to use the synchronize module but having many issues getting it to work with sudo. Assume no root access, and the maintenance

[ansible-project] Ansible -- Compare n remote directories against each other

2015-10-04 Thread johhue
Hello, Does Ansible have a plan to execute a low-level directory/file audit without making any changes? Use case: We have directory /app/foo and this exists on 10 disparate nodes. I would like to confirm all 10 nodes have the same file system. Looking for suggestions ... -- You received

[ansible-project] Splitting data, or work, across workers

2015-10-04 Thread Sam Zhang
Hi folks, I'm a beginner to Ansible. I'd like to split my data across several hosts. These are EC2 instances that I deployed during an earlier play. I'm not sure whether there's an idiomatic way, or a module, that can handle this. The easiest thing would be to have a module, say "split_file",

[ansible-project] Using conditional "when" with handlers

2015-10-04 Thread rrohana
HI I have a code in my playbook like this : * - name: Copy init scripts* *template: src=file-server.conf.j2 dest=/etc/init/file-server.conf* *register: init_script* *notify: restart file-server* *- name: Copy env scripts* * template: src=file-server.env.j2

Re: [ansible-project] Using conditional "when" with handlers

2015-10-04 Thread David Karban
Hi, I guess, init_script and env_script are much longer, that you thougth. Try: - debug: var=env_script to see which part of variable you want to use. David Karban Linux server specialist/Specialista na správu linuxových serverů www.karban.eu 2015-10-04 11:31 GMT+02:00 : >

[ansible-project] Hacking on ansible-galaxy website (fixing an issue)

2015-10-04 Thread Alon Nisser
I want to fix/ suggest an improvement to the ansible galaxy website behavior of importing roles. But I can't find where is the source code for the ansible web app. Any clues? directions? Repo ? Thanks -- You received this message because you are subscribed to the Google Groups "Ansible

Re: [ansible-project] Ansible -- Compare n remote directories against each other

2015-10-04 Thread David Karban
Hi, should be simple enough, just run your playbook with --check --diff. You will see what changed would be done. David Karban Linux server specialist/Specialista na správu linuxových serverů www.karban.eu 2015-10-03 22:40 GMT+02:00 johhue : > Hello, > > Does Ansible have a

Re: [ansible-project] Synchronize via sudo -- no tty present and no askpass program specified

2015-10-04 Thread Mirko Friedenhagen
Hello Johue, I ended up turning sudo to NOPASS during the action and resetting it afterwards. Regards Mirko -- Sent from my mobile Am 04.10.2015 15:01 schrieb "johhue" : > Hello, I have seen many similar topics but want to make sure my issue is > the same. > > Our enterprise

Re: [ansible-project] Hacking on ansible-galaxy website (fixing an issue)

2015-10-04 Thread alonn
I see.. Thanks for the reply Twitter:@alonisser LinkedIn Profile Facebook *Tech blog:*4p-tech.co.il/blog *Personal Blog:*degeladom.wordpress.com Tel:972-54-6734469 On Sun, Oct 4, 2015 at

Re: [ansible-project] Hacking on ansible-galaxy website (fixing an issue)

2015-10-04 Thread Brian Coca
its not an open project, it has a github issue queue but not a shared repo. -- 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 to

[ansible-project] Ultimate way to escape braces? (strange corner case inside)

2015-10-04 Thread Andrew Pashkin
With Ansible 1.9.2 and this playbook: --- - name: test hosts: localhost connection: local tasks: - name: register variable shell: > echo {% raw %} '{{ .Suddenly.Go.Template.String }}' {% endraw %} register: var - debug:

[ansible-project] Re: Using conditional "when" with handlers

2015-10-04 Thread Borys Borysenko
Hi, actually handlers are triggered once at the end of each block of tasks in a playbook, even were notified by multiple different tasks. I might be wrong, but in your case i don't understand why you need to use when statement with handler task. On Sunday, October 4, 2015 at 4:01:04 PM UTC+3,

[ansible-project] Re: Ultimate way to escape braces? (strange corner case inside)

2015-10-04 Thread Borys Borysenko
The *.*Suddenly.Go.Template.String is not valid Ansible variable name. Take a look on "What Makes A Valid Variable Name" section of Ansible documentation. it cannot parse Go template string I suppose it just typo, but to be clear Ansible support only jinja2 template language. On Sunday,

[ansible-project] Create Azure cloud service

2015-10-04 Thread Alex Brodov
Is there any way to create a cloud service in Azure using one of the modules, the only module that is working with Azure doesn't allow to create cloud service it's only allowing to create VM's it's assuming that I've already created a cloud service. Thanks, Alex -- You received this message

Re: [ansible-project] include_vars overrides subsequent role's vars/main.yml

2015-10-04 Thread t goto
well, in that case I will have to stay vigilant :( Thank you. 2015年10月4日日曜日 3時03分35秒 UTC+9 Dan Stillman: > > On 10/3/15 10:49 AM, t goto wrote: > > Thanks for info, Dan. > Glad to see that at least someone is already working on it :), and it > probably will be fixed in ver2. > > > Well,