We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378cafd commit 7fd88c3Copy full SHA for 7fd88c3
images/capi/ansible/roles/sshca/files/ssh_ca.pub
images/capi/ansible/roles/sshca/tasks/main.yml
@@ -0,0 +1,18 @@
1
+- name: add the ssh ca public key
2
+ ansible.builtin.copy:
3
+ dest: /etc/ssh/ssh_ca.pub
4
+ mode: "644"
5
+ src: ssh_ca.pub
6
+- name: set authorized principals
7
8
+ dest: /etc/ssh/authorized_principals
9
+ # Couldn't get this to use the `ssh_username` variable
10
+ content: |
11
+ ubuntu
12
+- name: add ssh ca settings
13
14
+ dest: /etc/ssh/sshd_config.d/ca.conf
15
16
+ TrustedUserCAKeys /etc/ssh/ssh_ca.pub
17
+ AuthorizedPrincipalsFile /etc/ssh/authorized_principals
18
+
0 commit comments