replace $FILE with lookup() to get rid of obsolete warning

This commit is contained in:
Miroslav Suchý 2014-02-27 11:41:31 +00:00
parent ddb56522fb
commit 980ba44c59

View file

@ -67,7 +67,7 @@
action: file state=directory path=/home/mockbuilder/.ssh mode=0700 owner=mockbuilder group=mockbuilder
- name: mockbuilder authorized_keys
action: authorized_key user=mockbuilder key='$FILE({{ files }}/buildsys.pub)'
action: authorized_key user=mockbuilder key='{{ lookup('file', '/home/copr/provision/files/buildsys.pub') }}'
- name: put updated mock configs into /etc/mock
action: copy src={{ files }}/mock/{{ item }} dest=/etc/mock