On Wed, Mar 5, 2014 at 6:11 AM, Brian Coca <
bria...@gmail.com> wrote:
> - name: check exists
> stat: path={{hgrc}}
> ignore_errors: true
> register: hgrcfile
>
> - name: create .hgrc if necessary
> file: path={{ hgrc }} owner={{ user }} state=touch
> when: hgrcfile.failed
>
>
> On Tue, Mar 4, 2014 at 10:10 PM, Brian Coca <
bria...@gmail.com> wrote:
>>
>> they are called tasks
>
Thanks. Tasks are fine, but distracting from logic. Lookup plugins are
just right for these kind of checks, but they only work on controlling
machine, so it would be nice to have a mechanism for remote lookups, no?