Skip to content

informatique-cdc/ansible-role-win_indexing_service

Repository files navigation

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.

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published