This commit is contained in:
2023-08-17 23:41:55 +02:00
parent 13c66d33c7
commit aa65d8ebd0
2 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: name1
description: superorle
company: nonono
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value

View File

@@ -2,3 +2,7 @@
---
- name: Shutdown Windows server
ansible.windows.win_shell: Stop-Computer -Force
ansible_user: "{{ ansible_winrm_user }}"
ansible_password: "{{ ansible_winrm_password }}"
ansible_winrm_server_cert_validation: ignore
when: ansible_winrm_password is defined