see if moving this to with_first_found will fix it

This commit is contained in:
Kevin Fenzi 2017-04-05 17:54:44 +00:00
parent 63b4978e9a
commit 9a0ab5c783

View file

@ -9,7 +9,7 @@
- name: add authorized_keys for loopabull_{{ loopabull_role }}
authorized_key: key="{{ item }}" user=loopabull_{{ loopabull_role }} state=present
with_file:
with_first_found:
- "{{private}}/files/loopabull/keys/{{env}}_{{loopabull_role}}.pub"
tags:
- loopabull/target