mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
ansible 1.2 breaks $FILE and $PIPE - so I went and fixed it everywhere :(
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user