blob: d8a79ab6e682ec5c91f8e46b7dec1486f09fe705 [file]
# Gets the current ExecutionPolicy for all machines.
- hosts: all_win
gather_facts: false
pre_tasks:
- name: get running scripts policy
raw:
'Get-ExecutionPolicy -List'
register: policy
- name: print
debug:
var: policy.stdout_lines