I don't think the git module can do anything about this, but you can
separate the .git and working tree by setting an environment variable like
GIT_DIR or GIT_WORK_TREE.
Nathan
On Monday, 9 June 2014 14:31:41 UTC-7, Renan Aguiar wrote:
>
> i'm new to ansible and I'm doing a simple test deployme
You'll want to add resource_tags... and read the comments for them in the
documentation. :-)
Nathan
On Friday, 6 June 2014 06:06:21 UTC-7, Gregory Spranger wrote:
>
> yeah -- i re-read what i wrote and cringed a little -- sorry about
> that .. let me explain better what i am hoping for ..
>
>
My thought would be to use delegate_to to call a script on master that
returns the string that the client needs.
Nathan
On Friday, 30 May 2014 02:56:20 UTC-7, Makimoto Marakatti wrote:
>
> Hi all
>
> Let's say I've got a service that I need to install on a machine that
> we'll call 'client' and
I think you want this:
http://docs.ansible.com/playbooks_conditionals.html#applying-when-to-roles-and-includes
Nathan
On Thursday, 29 May 2014 13:37:05 UTC-7, Adam Morris wrote:
>
>
>
> On Thursday, May 29, 2014 1:29:28 PM UTC-7, Adam Morris wrote:
>>
>> I can automate all of these steps easily,
I haven't tested this, but how about the stat module run as a local action?
- local_action: stat path=init.{{ ansible_hostname }}
register: init_file
- name: Install firewall rules
copy: ...
when: init_file.stat.exists
Nathan
On Thursday, 29 May 2014 10:04:42 UTC-7, Pierre Mavro wrote:
>
s:
> - { role: common, when: role_common_completed is not defined }
>
> Perfect !
>
> Am Donnerstag, 5. Dezember 2013 22:52:21 UTC+1 schrieb Nathan Howell:
>>
>> I ended up having my common role use set_fact on its first run, then it
>> gets skipped on subseq
I ended up having my common role use set_fact on its first run, then it
gets skipped on subsequent runs based on that fact, but it's not an ideal
solution. I'd be interested in a better answer for this as well.
Nathan
On Thursday, 5 December 2013 07:40:28 UTC-8, Jürgen Haas wrote:
>
> According
You have two different variable names there: 'ansible_all_ipv4_address' and
'ansible_all_ipv4_addresses'.
Nathan
On Monday, 2 December 2013 11:48:04 UTC-8, Steven Truong wrote:
>
> Hi all,
>
> Using the info from the document, I tried this but this totally does not
> work. I tried a few differ