get rc powershell test5
This commit is contained in:
@@ -5,9 +5,10 @@
|
|||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: On execute la commande "{{ command }}"
|
- name: On execute la commande "{{ command }}"
|
||||||
ansible.windows.win_powershell:
|
ansible.windows.win_shell: "{{ powershell_path }} {{ command }}"
|
||||||
script: "{{ command }}"
|
args:
|
||||||
chdir: "{{ execution_path }}"
|
chdir: "{{ execution_path }}"
|
||||||
register: ps_script
|
register: ps_script
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ ps_script }}"
|
msg: "{{ ps_script }}"
|
||||||
Reference in New Issue
Block a user