You've already forked ansible-role-unix-users
docs: support environment variables in authorized_keys file
This commit is contained in:
@@ -103,6 +103,9 @@ unix_users:
|
|||||||
authorized_keys:
|
authorized_keys:
|
||||||
- filename: claire@claire-pc.pub
|
- filename: claire@claire-pc.pub
|
||||||
- command: /usr/local/bin/upload-file.sh
|
- command: /usr/local/bin/upload-file.sh
|
||||||
|
environments:
|
||||||
|
- key: SSH_KEY_NAME
|
||||||
|
value: bob@bob-pc
|
||||||
filename: bob@bob-pc.pub
|
filename: bob@bob-pc.pub
|
||||||
private_keys:
|
private_keys:
|
||||||
- toor@toor-pc.ed25519.key
|
- toor@toor-pc.ed25519.key
|
||||||
|
|||||||
Reference in New Issue
Block a user