Tag ssh keys play in cloud setup.
This allows us to run this over all the cloud nodes when a key changes.
This commit is contained in:
parent
427014846b
commit
1a85b731c4
1 changed files with 2 additions and 0 deletions
|
@ -36,12 +36,14 @@
|
|||
- /srv/web/infra/ansible/roles/base/files/ansible-pub-key
|
||||
tags:
|
||||
- config
|
||||
- sshkeys
|
||||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
authorized_key: user=root key="{{ item }}"
|
||||
with_lines: "/srv/web/infra/ansible/scripts/auth-keys-from-fas @sysadmin-main {{ root_auth_users }}"
|
||||
tags:
|
||||
- config
|
||||
- sshkeys
|
||||
ignore_errors: true
|
||||
|
||||
- name: enable ssh_sysadm_login sebool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue