Re: [ansible-project] Simplest way to pass username & password to Git, when using http(s)?

2016-02-22 Thread eric via Ansible Project
On Saturday, February 20, 2016 at 8:45:17 AM UTC-8, Matt Martz wrote: > > Can't you just do? > > repo=http://username:passw...@git.example.com/git/reponame > > > > As I said in my original post, that causes problems downstream, including breakage if the

Re: [ansible-project] Understanding ansible branching model

2016-02-22 Thread Brian Coca
No doc or site, the model also has changed as of 1.9., so this is what we currently do: Mainly we develop against the /devel branch, once we are ready to release we create the stable-x.x branch and release from there (release candidates and finals get tagged here), also subsequent bug fixes will

Re: [ansible-project] Ansible playbook to install compass

2016-02-22 Thread yaron idan
Brian, if you're ever in Israel, please do let me buy you a beer. I indeed need root access to this gem path, but I acually intended to use a different executible (owned by deploy3) and forgot to use the correct path. Thanks! On Monday, February 22, 2016 at 2:06:00 AM UTC+2, Brian Coca wrote: >

[ansible-project] Re: Ansible managing Windows hosts with non admin user

2016-02-22 Thread 'J Hawkesworth' via Ansible Project
>From here it looks like this is possible, although you would have to tweak user rights: https://social.technet.microsoft.com/Forums/scriptcenter/en-US/60de5fcd-33e0-479b-9668-fcf683678a2f/winrm-for-nonadministrative-users?forum=ITCG I get the impression that the intention for WinRM is for

Re: [ansible-project] Executing python script on ansible master once playbook finishes

2016-02-22 Thread Martin Schenk
DUDE! thank you so much! ^^ it is exactly what i was looking for! hell yeah ;D again, thank you very much Am Montag, 22. Februar 2016 14:56:43 UTC+1 schrieb Brian Coca: > > something like this: > > - name: run script locally # can also use the script module >shell: /path/to/script >

[ansible-project] Executing python script on ansible master once playbook finishes

2016-02-22 Thread Martin Schenk
Dear all, i am new to the awesomeness of ansible. i've done some playbooks for now an am amazed of the capability of ansible. :) great product. Now i got to a certain point where i could need some help. My Setup: The ansible version i am using is: Anisble 1.9.4 I am running ansible on a Red

[ansible-project] Failure talking to yum: Can not create index on requires table: disk I/O error

2016-02-22 Thread nsrea408
Hello there amazing ansible community, We're using the latest Amazon Linux AMIs with ansible 2.0.0.2 and are getting following errors intermittently: TASK [APPNAME_HERE : Install Development tools for gem extensions] amazon-ebs: \u001b[0;31mfailed: [127.0.0.1] => (item=[u'gcc',

Re: [ansible-project] Executing python script on ansible master once playbook finishes

2016-02-22 Thread Brian Coca
something like this: - name: run script locally # can also use the script module shell: /path/to/script delegate_to: localhost run_once: True -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

[ansible-project] Re: Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote tem

2016-02-22 Thread Timothy Vandenbrande
I can confirm this. I have this issue on ansible 2.0.0.2, but works on ansible 1.9.x I get this error whicle running a script on a windows host. In playbook: - name: set some default settings script: defaults.ps1 In output: fatal: [acc-rt1903-sta]: UNREACHABLE! => {"changed": false, "msg":

Re: [ansible-project] Re: copy file from remote windows server to local machine?

2016-02-22 Thread Jason Levitt
I forgot that it was mentioned in the docs. Maybe there should be an "alias" page in the list of "Windows" modules. Thanks! J On Mon, Feb 22, 2016 at 2:57 AM, 'J Hawkesworth' via Ansible Project wrote: > I may be missing the point here but is the fetch module

[ansible-project] Re: ansible-nsupdate - module allowing dynamic dns updates

2016-02-22 Thread hector marina
How do you implement it? El jueves, 23 de julio de 2015, 13:38:05 (UTC+2), Marcin Skarbek escribió: > > Hi, > > It's highly possible that someone created such module already but if not > and you are looking for a simple way to add, remove or update dns record > without editing zone files

[ansible-project] using register stdout_lines in with_items loop

2016-02-22 Thread Jason Gilfoil
Hello All, I'm ultimately attempting to pull a list of files with wildcarded paths and pass the results into the replace module so it can cycle through them all. However, starting with a more simple example, i'm having issues getting the list of files to print properly in even a simple test

[ansible-project] Re: Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote tem

2016-02-22 Thread 'J Hawkesworth' via Ansible Project
Hi, Can I check that you have replaced your ansible.cfg with a new version supplied with ansible 2.0.0.2? Jon On Monday, 22 February 2016 13:57:25 UTC, Timothy Vandenbrande wrote: > > I can confirm this. > I have this issue on ansible 2.0.0.2, but works on ansible 1.9.x > I get this error

Re: [ansible-project] Re: Random return host in groups and balanced accross the cluster

2016-02-22 Thread Nicolas G
Brian Coca can you be more specific ? I'm trying something like the bellow but I"m stuck, it's deploying all the servers in every run instead of only a random one .. {% for host in groups['dbservers'] %} {% if loop.index % (loop.length + 1) %} server_address = {{ host }} {{ loop.index %

Re: [ansible-project] Understanding ansible branching model

2016-02-22 Thread Michael Baydoun
Thanks Brian -- 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 post to this group, send email to

[ansible-project] Re: Re-using "register" variable in multiple tasks

2016-02-22 Thread Dimitri Yioulos
OK. Here's what I'm trying to accomplish: - hosts: all gather_facts: false tasks: - name: win update win_updates: category: ['SecurityUpdates','CriticalUpdates','Updates','Tools','DefinitionUpdates','UpdateRollups'] register: reboot_hint - hosts: admin2

[ansible-project] Ansible windows modules

2016-02-22 Thread Quang Truong
Hi all, I start learning Ansible to run some deployment tasks on Windows platform. I encounter some hiccups with Windows modules as below: - Install the executable package (.NET 4.5.2 framework) - I download the offline installer

[ansible-project] Inventory file and hosts: localhost

2016-02-22 Thread Wood Peter
Hi, I'm using ansible-1.9.4 (from CentOS7 distro) and also I'm new to the product. I'm trying to come up with some form of bootstrapping after kickstart where ansible-pull will run a few tasks regardless of the hostname. Seems that 'hosts: localhost' should do the right thing but I'm running in

[ansible-project] Inventory file and hosts: localhost

2016-02-22 Thread Peter W
Hi, I'm using ansible-1.9.4 (from CentOS7 distro) and also I'm new to the product. I'm trying to come up with some form of bootstrapping after kickstart where ansible-pull will run a few tasks regardless of the hostname. Seems that 'hosts: localhost' should do the right thing but I'm running

[ansible-project] Ansible1.9.4 on vagrant returning an error when using dynamic inventory script.

2016-02-22 Thread Olu Oyedipe
Hello, I'm getting the following error when running ansible on a vagrant vm: [vagrant@localhost vagrant]$ sudo ansible all -i /vagrant/genhosts.py -m ping ERROR: problem running /vagrant/genhosts.py --list ([Errno 2] No such file or directory) I wrote the dynamic inventory script and it

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-22 Thread 'J Hawkesworth' via Ansible Project
I may be missing the point here but is the fetch module what you need? Fetch works against windows hosts and linux hosts. Plenty of examples in the integration tests here: https://github.com/ansible/ansible/blob/devel/test/integration/roles/test_win_fetch/tasks/main.yml Hope this helps, Jon

[ansible-project] Re: Ansible Playbooks can run PowerShell scripts but not long ones

2016-02-22 Thread 'J Hawkesworth' via Ansible Project
Ok, there could be a number of things going on here. WimRM enforces quotas on things like maximum amount of memory used and other resources, presumably as a security measure. Another thing that could be going on here is that one or more of the 18 things that are installed require an interactive