win_indexing_service

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

Enable or disable Search Indexing

Install
ansible-galaxy install informatique-cdc/ansible-role-win_indexing_service
GitHub repository
License
apache-2.0
Downloads
17
Owner
Informatique CDC, subsidiary of Group Caisse des Dépôts is a key player in IT services and digital trust.