-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from tribe29/devel
Release 0.16.0
- Loading branch information
Showing
29 changed files
with
546 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to | ||
|
||
minor_changes: | ||
- Agent role - Enable registration for TLS and agent updates on remote sites. | ||
- Agent role - Enable automatic activation of changes when needed for this role. Refer to the README for details. | ||
- Agent role - RedHat - Only try to configure firewalld, if the systemd service is present. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to | ||
bugfixes: | ||
- Rule module - Now properly comparing the specified rule with the existing ones to achieve idempotency. | ||
|
||
# minor_changes: | ||
# - Add agent role. Currently supports the vanilla agent. | ||
|
||
known_issues: | ||
- Rule module - comparing the specified rule with the existing ones leads to additional changes in CMK's audit log | ||
|
||
# - Discovery module is not feature complete yet. | ||
# - Downtime module is not fully idempotent yet. This affects service downtimes and deletions. | ||
|
||
## Line Format | ||
# When writing a changelog entry, use the following format: | ||
|
||
# - scope - description starting with a lowercase letter and ending with a period at the very end. Multiple sentences are allowed (https://github.com/reference/to/an/issue or, if there is no issue, reference to a pull request itself). | ||
|
||
# The scope is usually a module or plugin name or group of modules or plugins, for example, lookup plugins. While module names can (and should) be mentioned directly (foo_module), plugin names should always be followed by the type (foo inventory plugin). | ||
|
||
# For changes that are not really scoped (for example, which affect a whole collection), use the following format: | ||
|
||
# - Description starting with an uppercase letter and ending with a dot at the very end. Multiple sentences are allowed (https://github.com/reference/to/an/issue or, if there is no issue, reference to a pull request itself). | ||
|
||
|
||
## Possible keys: | ||
|
||
# breaking_changes | ||
|
||
# Changes that break existing playbooks or roles. This includes any change to existing behavior that forces users to update tasks. Displayed in both the changelogs and the Porting Guides. | ||
# major_changes | ||
|
||
# Major changes to Ansible itself. Generally does not include module or plugin changes. Displayed in both the changelogs and the Porting Guides. | ||
# minor_changes | ||
|
||
# Minor changes to Ansible, modules, or plugins. This includes new features, new parameters added to modules, or behavior changes to existing parameters. | ||
# deprecated_features | ||
|
||
# Features that have been deprecated and are scheduled for removal in a future release. Displayed in both the changelogs and the Porting Guides. | ||
# removed_features | ||
|
||
# Features that were previously deprecated and are now removed. Displayed in both the changelogs and the Porting Guides. | ||
# security_fixes | ||
|
||
# Fixes that address CVEs or resolve security concerns. Include links to CVE information. | ||
# bugfixes | ||
|
||
# Fixes that resolve issues. | ||
# known_issues | ||
|
||
# Known issues that are currently not fixed or will not be fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to | ||
minor_changes: | ||
- Playbooks - Add use case playbook for registering agents on remote sites. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to | ||
#bugfixes: | ||
# - Rule module - Now take the folder into account when checking for existing rules. | ||
|
||
minor_changes: | ||
- Rule module - Now its possible to choose a position when creating a rule. The ID of the created rule is returned in the task's response. | ||
|
||
# known_issues: | ||
# - This release is still in development and a heavy work in progress. | ||
# - Discovery module is not feature complete yet. | ||
# - Downtime module is not fully idempotent yet. This affects service downtimes and deletions. | ||
|
||
## Line Format | ||
# When writing a changelog entry, use the following format: | ||
|
||
# - scope - description starting with a lowercase letter and ending with a period at the very end. Multiple sentences are allowed (https://github.com/reference/to/an/issue or, if there is no issue, reference to a pull request itself). | ||
|
||
# The scope is usually a module or plugin name or group of modules or plugins, for example, lookup plugins. While module names can (and should) be mentioned directly (foo_module), plugin names should always be followed by the type (foo inventory plugin). | ||
|
||
# For changes that are not really scoped (for example, which affect a whole collection), use the following format: | ||
|
||
# - Description starting with an uppercase letter and ending with a dot at the very end. Multiple sentences are allowed (https://github.com/reference/to/an/issue or, if there is no issue, reference to a pull request itself). | ||
|
||
|
||
## Possible keys: | ||
|
||
# breaking_changes | ||
|
||
# Changes that break existing playbooks or roles. This includes any change to existing behavior that forces users to update tasks. Displayed in both the changelogs and the Porting Guides. | ||
# major_changes | ||
|
||
# Major changes to Ansible itself. Generally does not include module or plugin changes. Displayed in both the changelogs and the Porting Guides. | ||
# minor_changes | ||
|
||
# Minor changes to Ansible, modules, or plugins. This includes new features, new parameters added to modules, or behavior changes to existing parameters. | ||
# deprecated_features | ||
|
||
# Features that have been deprecated and are scheduled for removal in a future release. Displayed in both the changelogs and the Porting Guides. | ||
# removed_features | ||
|
||
# Features that were previously deprecated and are now removed. Displayed in both the changelogs and the Porting Guides. | ||
# security_fixes | ||
|
||
# Fixes that address CVEs or resolve security concerns. Include links to CVE information. | ||
# bugfixes | ||
|
||
# Fixes that resolve issues. | ||
# known_issues | ||
|
||
# Known issues that are currently not fixed or will not be fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# This playbook uses the inventory from the 'playbooks/hosts' file and expects | ||
# an expects an existing site with the below configuration and hosts of the group | ||
# 'vagrant'. | ||
|
||
- name: "Register hosts against a remote site. Both for updates and TLS." | ||
hosts: vagrant | ||
vars: | ||
# Basic server and authentication information. | ||
# You have to provide the distributed setup yourself. | ||
checkmk_agent_version: "2.1.0p19" | ||
checkmk_agent_edition: "cre" | ||
checkmk_agent_user: "cmkadmin" | ||
checkmk_agent_pass: "password" | ||
# Here comes the part, where we get into remote registration | ||
checkmk_agent_protocol: http | ||
# The following should be set to the central site. | ||
# This where you configure the host objects. | ||
# Currently the agent package is also pulled from here. | ||
checkmk_agent_server: 192.168.56.1 | ||
checkmk_agent_site: "ansible" | ||
# The following should be pointed to the respective remote site. | ||
# This is where the registration will happen. | ||
checkmk_agent_registration_server: "{{ checkmk_agent_server }}" | ||
checkmk_agent_registration_site: ansible_remote_1 | ||
# The folder might differ from your remote site name, | ||
# as it is the technical path. Check your configuration for this information. | ||
checkmk_agent_folder: "/remote_1" | ||
# These options need to be enabled for all registrations to work. | ||
# You can however disable the one you do not want to perform. | ||
# But the host needs to be added and changes activated in any case. | ||
checkmk_agent_auto_activate: 'true' | ||
checkmk_agent_update: 'true' | ||
checkmk_agent_tls: 'true' | ||
checkmk_agent_add_host: 'true' | ||
# These are some generic agent options you might want to configure. | ||
checkmk_agent_discover: 'true' | ||
checkmk_agent_force_install: 'true' | ||
checkmk_agent_delegate_api_calls: localhost | ||
checkmk_agent_delegate_download: "{{ inventory_hostname }}" | ||
checkmk_agent_host_name: "{{ inventory_hostname }}" | ||
checkmk_agent_host_folder: "{{ site }}" | ||
checkmk_agent_host_ip: "{{ ansible_host }}" | ||
checkmk_agent_host_attributes: | ||
ipaddress: "{{ checkmk_agent_host_ip | default(omit) }}" | ||
roles: | ||
- agent |
Oops, something went wrong.