Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.19 KB

File metadata and controls

44 lines (29 loc) · 1.19 KB

win_indexing_service - Enable or disable Search Indexing

Synopsis

  • This Ansible module ensures that volume indexing is enabled or not.

Parameters

Parameter Choices/Defaults Comments
drive_letter
string / required
The drive letter assigned to a volume.
state
string
Choices:
  • absent
  • present ←
When state=present will ensure the indexing is enabled.
When state=absent will ensure the indexing is not running.

Examples

---
- 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

Authors

  • Stéphane Bilqué (@sbilque) Informatique CDC

License

This project is licensed under the Apache 2.0 License.

See LICENSE to see the full text.