Try this.
This commit is contained in:
parent
51fb9f824c
commit
b26adb82f8
2 changed files with 5 additions and 5 deletions
|
@ -13,6 +13,6 @@
|
|||
|
||||
tasks:
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
action: authorized_key user=root key="{{ item }}"
|
||||
with_pipe:
|
||||
action: authorized_key user=root key={{ item }}
|
||||
with_lines:
|
||||
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
- config
|
||||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
action: authorized_key user=root key="{{ item }}"
|
||||
with_pipe:
|
||||
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
||||
authorized_key: user=root key={{ item }}
|
||||
with_lines:
|
||||
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
||||
tags:
|
||||
- config
|
||||
ignore_errors: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue