mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
498 B
YAML
19 lines
498 B
YAML
7 years ago
|
---
|
||
|
- name: load HKLM:\ANSIBLE with test hive
|
||
|
win_command: reg.exe load HKLM\ANSIBLE C:\Users\Default\NTUSER.dat
|
||
|
failed_when: false
|
||
|
|
||
|
- name: make sure testing keys are removed before test
|
||
|
win_regedit:
|
||
|
path: '{{item}}'
|
||
|
delete_key: yes
|
||
|
state: absent
|
||
|
with_items:
|
||
|
- '{{test_win_regedit_local_key}}'
|
||
|
- '{{test_win_regedit_classes_key}}'
|
||
|
- '{{test_win_regedit_hive_key}}'
|
||
|
|
||
|
- name: ensure HKLM:\ANSIBLE is unloaded
|
||
|
win_command: reg.exe unload HKLM\ANSIBLE
|
||
|
failed_when: false
|