Closed p-j-smith closed 8 months ago
We could use the ansible.posix.authorized_key module to add our public SSH keys to our accounts, e.g.
ansible.posix.authorized_key
- name: Set authorized keys taken from url ansible.posix.authorized_key: user: psmith state: present key: https://github.com/p-j-smith.keys
We would need to add the key variable for all users in os_mirsg_users in UCLMedicalImagingEnv
key
os_mirsg_users
UCLMedicalImagingEnv
closing as not all users (e.g. those used for deploying) have GitHub accounts
We could use the
ansible.posix.authorized_key
module to add our public SSH keys to our accounts, e.g.We would need to add the
key
variable for all users inos_mirsg_users
inUCLMedicalImagingEnv