add atop package in preinstall
And set polling interval to 60 Change-Id: I7bba583a6b119d1395413511712a94b03aba6969
This commit is contained in:
parent
120066b34c
commit
5959439109
|
@ -1,5 +1,6 @@
|
|||
# Istall discovered self signed certificates
|
||||
trust_self_signed_certs: false
|
||||
atop_interval: 60
|
||||
|
||||
# Certificates to be preinstalled for cluster nodes, if trusted
|
||||
# NOTE: indentation is crucial!
|
||||
|
|
|
@ -38,6 +38,13 @@
|
|||
insertafter: "^127.0.0.1 localhost"
|
||||
state: present
|
||||
|
||||
- name: Set atop interval
|
||||
copy:
|
||||
dest: /etc/default/atop
|
||||
content: "INTERVAL={{ atop_interval }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Ensure required packages are installed
|
||||
apt:
|
||||
|
@ -45,6 +52,7 @@
|
|||
state: latest
|
||||
when: ansible_os_family == "Debian"
|
||||
with_items:
|
||||
- atop
|
||||
- dnsutils
|
||||
- ntp
|
||||
- netcat
|
||||
|
|
Loading…
Reference in New Issue