- This Ansible module ensures that volume indexing is enabled or not.
Parameter | Choices/Defaults | Comments |
---|---|---|
drive_letter string / required |
The drive letter assigned to a volume. | |
state string |
Choices:
|
When state=present will ensure the indexing is enabled.When state=absent will ensure the indexing is not running. |
---
- name: test the win_indexing_service module
hosts: all
gather_facts: false
tasks:
- name: Ensure the indexing is not running
win_indexing_service:
drive_letter: D
state: absent
- name: Ensure the indexing is enabled
win_indexing_service:
drive_letter: D
state: present
- Stéphane Bilqué (@sbilque) Informatique CDC
This project is licensed under the Apache 2.0 License.
See LICENSE to see the full text.