fixed pwsh deploy
updated hosts template to support sudo password field
This commit is contained in:
parent
7efd075257
commit
b504748e0d
@ -5,6 +5,8 @@
|
||||
ansible_user=ansible
|
||||
ansible_connection=ssh
|
||||
ansible_password=
|
||||
ansible_become_method=sudo
|
||||
ansible_become_pass=
|
||||
|
||||
[windows]
|
||||
192.168.0.2
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user