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:
|
tasks:
|
||||||
- name: add root keys for sysadmin-main and other allowed users
|
- name: add root keys for sysadmin-main and other allowed users
|
||||||
action: authorized_key user=root key="{{ item }}"
|
action: authorized_key user=root key={{ item }}
|
||||||
with_pipe:
|
with_lines:
|
||||||
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: add root keys for sysadmin-main and other allowed users
|
- name: add root keys for sysadmin-main and other allowed users
|
||||||
action: authorized_key user=root key="{{ item }}"
|
authorized_key: user=root key={{ item }}
|
||||||
with_pipe:
|
with_lines:
|
||||||
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
- "{{ auth_keys_from_fas}} @sysadmin-main {{ root_auth_users }}"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue