ssh key optimisation

This commit is contained in:
L3D 2022-12-31 16:43:37 +01:00
parent 1c936710ee
commit 5ef0d976a9
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 6 additions and 6 deletions

View file

@ -11,4 +11,4 @@ $acl | Set-Acl
[System.IO.Directory]::CreateDirectory('.ansible\status')
attrib +h .ansible
Add-Content -Path .ansible\status\admin_ssh_acl.txt -Value "PS2 upgrades to PS3. See https://backwesen.de/voc/win_ansible_role_winrm.git"
Add-Content -Path .ansible\status\admin_ssh_acl.txt -Value "PS2 upgrades to PS3. See https://backwesen.de/voc/win_ansible_role_sshd.git"

View file

@ -9,13 +9,13 @@
script: "attrib +h .ansible"
changed_when: _fw.changed
- name: Set Admin SSH ACL
ansible.builtin.script: files/admin_ssh_acl.ps1
args:
creates: '.ansible\status\admin_ssh_acl.txt'
- name: Prepare Pubkey PS1 Script
ansible.windows.win_template:
src: 'templates/ssh_keys.ps1'
dest: '.ansible\ssh_keys.ps1'
notify: 'Install SSH Keys'
- name: Set Admin SSH ACL
ansible.builtin.script: files/admin_ssh_acl.ps1
args:
creates: '.ansible\status\admin_ssh_acl.txt'