ssh key optimisation
This commit is contained in:
parent
1c936710ee
commit
5ef0d976a9
2 changed files with 6 additions and 6 deletions
|
@ -11,4 +11,4 @@ $acl | Set-Acl
|
||||||
|
|
||||||
[System.IO.Directory]::CreateDirectory('.ansible\status')
|
[System.IO.Directory]::CreateDirectory('.ansible\status')
|
||||||
attrib +h .ansible
|
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"
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
script: "attrib +h .ansible"
|
script: "attrib +h .ansible"
|
||||||
changed_when: _fw.changed
|
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
|
- name: Prepare Pubkey PS1 Script
|
||||||
ansible.windows.win_template:
|
ansible.windows.win_template:
|
||||||
src: 'templates/ssh_keys.ps1'
|
src: 'templates/ssh_keys.ps1'
|
||||||
dest: '.ansible\ssh_keys.ps1'
|
dest: '.ansible\ssh_keys.ps1'
|
||||||
notify: 'Install SSH Keys'
|
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'
|
|
||||||
|
|
Loading…
Reference in a new issue