3 Commits
1.0.4 ... 1.0.6

Author SHA1 Message Date
a67d4af041 Updated to present from installed 2020-11-25 21:54:04 +13:00
396fdf006b revert to package module 2020-11-25 21:48:55 +13:00
975a81ea57 Bypass GPG Check on Agent install 2020-11-25 11:19:22 +13:00
2 changed files with 11 additions and 6 deletions

View File

@@ -14,6 +14,11 @@ cmk_rpm_agent: http://url-from-your-agent-bakery-in-checkmk.rpm
# Copy paste the link address for MSI (Windows) agent from CheckMK
cmk_msi_agent: http://url-from-your-agent-bakery-in-checkmk.msi
# Check_MK GPG Key
# Copy paste the link address from Signature Keys for Signing Agents page
cmk_gpg_key_id: 1
cmk_gpg_key_url: "{{ cmk_omd_protocol }}://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/wato.py?key={{ cmk_gpg_key_id }}&mode=download_signature_key"
# Should be username of an automation user in checkmk
cmk_username: some-username

View File

@@ -1,9 +1,9 @@
---
# Tasks for installation on RedHat Family
- name: Ensure xinetd installed
yum:
package:
name: xinetd
state: installed
state: present
notify: restart xinetd
- name: Gather facts of packages
@@ -16,16 +16,16 @@
get_url:
url: "{{ cmk_rpm_agent }}{{ cmk_auth }}"
dest: /tmp/check-mk-agent.rpm
- name: Ensure check_mk_agent installed
yum:
package:
name: /tmp/check-mk-agent.rpm
state: installed
state: present
disable_gpg_check: true
notify:
- restart xinetd
- cmk fresh install
- ensure firewall open
- ensure firewall reloaded
- name: Remove agent Download
file: