mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
make the root auth_keys setup part of the cloud_setup_basic tasks
This commit is contained in:
@@ -31,6 +31,12 @@
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: add root keys for other allowed users
|
||||
action: authorized_key user=root key='$PIPE(${auth_keys_from_fas} ${root_auth_users})'
|
||||
only_if: is_set('${root_auth_users}'}
|
||||
tags:
|
||||
- config
|
||||
|
||||
# note - kinda should be a handler - but handlers need args
|
||||
- name: restorecon
|
||||
action: command restorecon -R /root/.ssh
|
||||
|
||||
Reference in New Issue
Block a user