Add patchman-client role; disable nightly update and reboot cron jobs
- roles/patchman_client + patchman-client.yaml: install patchman-client on ubuntu_servers and enroll with the Patchman server on patch.ki5bhv.com - crontab.txt: comment out the 2:00 update.yaml and 7:00 reboot.yaml jobs; updates are now tracked in Patchman and applied manually Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
fcaa1e9204
commit
6d5f532b2b
8 files changed
+1337
-2
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# Patchman server
|
||||
server={{ patchman_server_url }}
|
||||
|
||||
# Options to curl
|
||||
curl_options="{{ patchman_client_curl_options }}"
|
||||
|
||||
# Comma or space delimited tags to send
|
||||
tags="{{ patchman_client_tags }}"
|
||||
|
||||
# Does the client output a report of the upload (e.g. for cronjob output)
|
||||
report=false
|
||||
|
||||
# Protocol version (1 = text, 2 = json)
|
||||
# Protocol 2 requires jq to be installed
|
||||
protocol={{ patchman_client_protocol }}
|
||||
|
||||
# API key for protocol 2 authentication
|
||||
{% if patchman_client_api_key %}
|
||||
api_key={{ patchman_client_api_key }}
|
||||
{% else %}
|
||||
#api_key=pm_your_api_key_here
|
||||
{% endif %}
|
||||
@@ -0,0 +1,6 @@
|
||||
# {{ ansible_managed }}
|
||||
# Send a daily package report to the Patchman server ({{ patchman_server_url }})
|
||||
SHELL=/bin/sh
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
{{ patchman_cron_minute }} {{ patchman_cron_hour }} * * * root /usr/sbin/patchman-client 2>&1 | logger -t patchman-client
|
||||
Reference in new issue
Block a user