[ansible-project] item as part of a variable

2018-04-16 Thread Michael Renner
Moin, I'm calling a playbook (ansible 2.4.2.0) with extra-vars for 3 system components, e.g. "foo_version=0.11.3 bar_version=0.10.2 baz_version=0.12.1 env=dev". There is a statement In the playbook that takes care that this step is only executed if the corresponding variable is defined: "{{ it

[ansible-project] Re: Using subversion via http?

2018-04-16 Thread Michael Renner
Just for the archive: "become: no" was my friend. Am Freitag, 13. April 2018 17:26:05 UTC+2 schrieb Michael Renner: > > Moin, > > a simple playbook won't work: > > - name: svn checkout > subversion: > > [...] CU -- You received this messag

[ansible-project] Using subversion via http?

2018-04-13 Thread Michael Renner
Moin, a simple playbook won't work: - name: svn checkout subversion: repo: http://svn-01.int.de/operation/foobar dest: /tmp/checkout delegate_to: localhost but it fail: TASK [svn checkout]

Re: [ansible-project] create tepdir and copy file into it?

2018-04-11 Thread Michael Renner
Moin, [...] > > If I understand you correctly you want to download to localhost, and then > copy it out to all the host in the play. > If so you need to add run_once and delegate_to. you need to add run_once > and delegate_to [...] CU -- You received this message because you are subscr

[ansible-project] create tepdir and copy file into it?

2018-04-10 Thread Michael Renner
Moin, I want to download a file using the maven_artifact plugin into a temporary directory (an copy this to several other maschines). Now I wonder how to use a registerd variable for this . - name: create temporary build directory tempfile: state: directory suffix: _baz