fixed pwsh deploy

updated hosts template to support sudo password field
This commit is contained in:
James Tombleson 2019-04-15 15:19:23 -07:00
parent 7efd075257
commit b504748e0d
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,8 @@
ansible_user=ansible
ansible_connection=ssh
ansible_password=
ansible_become_method=sudo
ansible_become_pass=
[windows]
192.168.0.2

View File

@ -5,11 +5,9 @@
tasks:
- name: Check if PowerShell is installed
#register: command_result
failed_when: "'Failed' PowerShell is already installed."
apt:
name: powershell
state: absent
- name: Install Microsoft GPG Key
get_url: