--- - name: Create .ansible folder ansible.windows.win_powershell: script: "[System.IO.Directory]::CreateDirectory('.ansible')" changed_when: _fw.changed - name: Create .ansible folder ansible.windows.win_powershell: 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'