New location management module

There is a new location management module placed in the plugins folder:

    plugins/modules/ipalocation.py

The location module allows to ensure presence or absence of locations.

Here is the documentation for the module:

    README-location.md

New example playbooks have been added:

    playbooks/location/location-absent.yml
    playbooks/location/location-present.yml

New tests for the module:

    tests/location/test_location.yml
This commit is contained in:
Thomas Woerner
2020-08-13 16:38:34 +02:00
parent 542e241440
commit 5ef6e61f77
5 changed files with 391 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Location absent test
hosts: ipaserver
become: true
tasks:
- name: Ensure location my_location1 is absent
ipalocation:
name: my_location1
state: absent