Skip to content

Commit

Permalink
Update Docs and Changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-tribe29 authored Jan 11, 2023
1 parent 057a4c6 commit 608fdbe
Show file tree
Hide file tree
Showing 17 changed files with 109 additions and 57 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ tribe29.checkmk Release Notes
.. contents:: Topics


v0.15.0
=======

Major Changes
-------------

- The folder module now uses `name` instead of `title`. The latter is retained as an alias until further notice.
- The host module now uses `name` instead of `host_name`. The latter is retained as an alias but will be removed with a future release.

Minor Changes
-------------

- Agent role - Respect the variable `checkmk_agent_host_name` when downloading host specific agents.
- The playbooks shipped with the collection were cleaned up and update. Just for awareness.

Breaking Changes / Porting Guide
--------------------------------

- Agent role - Remove host attribute `tag_agent` from the defaults. Should not be a breaking change, but be aware of it.

v0.14.0
=======

Expand Down
2 changes: 1 addition & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 0.14.0
version: 0.15.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,26 @@ releases:
fragments:
- host_group.yml
release_date: '2022-12-09'
0.15.0:
changes:
breaking_changes:
- Agent role - Remove host attribute `tag_agent` from the defaults. Should not
be a breaking change, but be aware of it.
major_changes:
- The folder module now uses `name` instead of `title`. The latter is retained
as an alias until further notice.
- The host module now uses `name` instead of `host_name`. The latter is retained
as an alias but will be removed with a future release.
minor_changes:
- Agent role - Respect the variable `checkmk_agent_host_name` when downloading
host specific agents.
- The playbooks shipped with the collection were cleaned up and update. Just
for awareness.
fragments:
- agent_role.yml
- module_options.yml
- playbooks.yml
release_date: '2023-01-11'
0.2.0:
changes:
known_issues:
Expand Down
2 changes: 1 addition & 1 deletion docs/activation_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.activation module -- Activate changes in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
2 changes: 1 addition & 1 deletion docs/contact_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.contact_group module -- Manage contact groups in Checkmk (bulk v
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
2 changes: 1 addition & 1 deletion docs/discovery_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.discovery module -- Discover services in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
6 changes: 3 additions & 3 deletions docs/downtime_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.downtime module -- Manage downtimes in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down Expand Up @@ -677,7 +677,7 @@ Examples


- name: "Schedule host downtime."
downtime:
tribe29.checkmk.downtime:
server_url: "{{ server_url }}"
site: "{{ site }}"
automation_user: "{{ automation_user }}"
Expand All @@ -690,7 +690,7 @@ Examples
hours: 5

- name: "Schedule service downtimes for two given services."
downtime:
tribe29.checkmk.downtime:
server_url: "{{ server_url }}"
site: "{{ site }}"
automation_user: "{{ automation_user }}"
Expand Down
80 changes: 43 additions & 37 deletions docs/folder_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.folder module -- Manage folders in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down Expand Up @@ -197,6 +197,46 @@ Parameters
The automation user you want to use. It has to be an 'Automation' user, not a normal one.


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-name"></div>
<div class="ansibleOptionAnchor" id="parameter-title"></div>

.. _ansible_collections.tribe29.checkmk.folder_module__parameter-name:
.. _ansible_collections.tribe29.checkmk.folder_module__parameter-title:

.. rst-class:: ansible-option-title

**name**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-name" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-aliases:`aliases: title`

.. rst-class:: ansible-option-type-line

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

<div class="ansible-option-cell">

The name of your folder. If omitted defaults to the folder name.


.. raw:: html

</div>
Expand Down Expand Up @@ -341,40 +381,6 @@ Parameters
- :ansible-option-choices-entry:`"absent"`


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-title"></div>

.. _ansible_collections.tribe29.checkmk.folder_module__parameter-title:

.. rst-class:: ansible-option-title

**title**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-title" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

<div class="ansible-option-cell">

The title of your folder. If omitted defaults to the folder name.


.. raw:: html

</div>
Expand Down Expand Up @@ -447,7 +453,7 @@ Examples
automation_user: "automation"
automation_secret: "$SECRET"
path: "/my_folder"
title: "My Folder"
name: "My Folder"
state: "present"

# Create a folder who's hosts should be hosted on a remote site.
Expand All @@ -458,7 +464,7 @@ Examples
automation_user: "automation"
automation_secret: "$SECRET"
path: "/my_remote_folder"
title: "My Remote Folder"
name: "My Remote Folder"
attributes:
site: "my_remote_site"
state: "present"
Expand Down
2 changes: 1 addition & 1 deletion docs/host_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.host_group module -- Manage host groups in Checkmk (bulk version
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
18 changes: 12 additions & 6 deletions docs/host_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.host module -- Manage hosts in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down Expand Up @@ -242,17 +242,23 @@ Parameters
* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-name"></div>
<div class="ansibleOptionAnchor" id="parameter-host_name"></div>

.. _ansible_collections.tribe29.checkmk.host_module__parameter-host_name:
.. _ansible_collections.tribe29.checkmk.host_module__parameter-name:

.. rst-class:: ansible-option-title

**host_name**
**name**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-host_name" title="Permalink to this option"></a>
<a class="ansibleOptionLink" href="#parameter-name" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-aliases:`aliases: host_name`

.. rst-class:: ansible-option-type-line

Expand Down Expand Up @@ -450,7 +456,7 @@ Examples
site: "my_site"
automation_user: "automation"
automation_secret: "$SECRET"
host_name: "my_host"
name: "my_host"
folder: "/"
state: "present"

Expand All @@ -461,7 +467,7 @@ Examples
site: "my_site"
automation_user: "automation"
automation_secret: "$SECRET"
host_name: "my_host"
name: "my_host"
attributes:
alias: "My Host"
ipaddress: "127.0.0.1"
Expand All @@ -475,7 +481,7 @@ Examples
site: "my_site"
automation_user: "automation"
automation_secret: "$SECRET"
host_name: "my_host"
name: "my_host"
attributes:
site: "my_remote_site"
folder: "/"
Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Tribe29.Checkmk
===============

Collection version 0.14.0
Collection version 0.15.0

.. contents::
:local:
Expand Down Expand Up @@ -60,8 +60,6 @@ Modules
* :ref:`service_group module <ansible_collections.tribe29.checkmk.service_group_module>` -- Manage service groups in Checkmk (bulk version).
* :ref:`tag_group module <ansible_collections.tribe29.checkmk.tag_group_module>` -- Manage tag\_group within Checkmk



.. toctree::
:maxdepth: 1
:hidden:
Expand All @@ -76,3 +74,5 @@ Modules
rule_module
service_group_module
tag_group_module


2 changes: 1 addition & 1 deletion docs/rule_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.rule module -- Manage rules in Checkmk.
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
2 changes: 1 addition & 1 deletion docs/service_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.service_group module -- Manage service groups in Checkmk (bulk v
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down
2 changes: 1 addition & 1 deletion docs/tag_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tribe29.checkmk.tag_group module -- Manage tag\_group within Checkmk
.. Collection note
.. note::
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.14.0).
This module is part of the `tribe29.checkmk collection <https://galaxy.ansible.com/tribe29/checkmk>`_ (version 0.15.0).

To install it, use: :code:`ansible-galaxy collection install tribe29.checkmk`.

Expand Down

0 comments on commit 608fdbe

Please sign in to comment.