@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
17 lines (15 loc) • 445 B
YAML
- name: Ensure PowerShell start script directory exists
become: true
become_method: runas
become_user: "{{ user.username }}"
win_file:
path: "{{ user_powershell_dir }}"
state: directory
- name: Copy PowerShell start script
become: true
become_method: runas
become_user: "{{ user.username }}"
win_copy:
src: Microsoft.PowerShell_profile.ps1
dest: "{{ user_powershell_dir }}\\Microsoft.PowerShell_profile.ps1"