ansible 1.2 breaks $FILE and $PIPE - so I went and fixed it everywhere :(
This commit is contained in:
parent
94802c6a27
commit
79e83d9d96
6 changed files with 21 additions and 7 deletions
|
@ -26,12 +26,16 @@
|
|||
- config
|
||||
|
||||
- name: add ansible root key
|
||||
action: authorized_key user=root key='$FILE(${files}/common/ansible-pub-key)'
|
||||
action: authorized_key user=root key="{{ item }}"
|
||||
with_file:
|
||||
- ${files}/common/ansible-pub-key
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
action: authorized_key user=root key='$PIPE(${auth_keys_from_fas} @sysadmin-main ${root_auth_users})'
|
||||
action: authorized_key user=root key="{{ item }}"
|
||||
with_pipe:
|
||||
- {{ auth_keys_from_fas }} @sysadmin-main {{ root_auth_users }}
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue