Commit e895f102 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Enable sysstat by default.

parent b1bce203
---
- name: Restart sysstat
service:
name: 'sysstat'
state: 'restarted'
---
dependencies:
- { role: package, package_name: sysstat, package_state: latest }
---
- name: Enable sysstat
lineinfile: regexp='^ENABLED="false"' line='ENABLED="true"' dest=/etc/default/sysstat
notify: [ 'Restart sysstat' ]
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
- { role: package, package_name: openssl, package_state: latest } - { role: package, package_name: openssl, package_state: latest }
- { role: package, package_name: ca-certificates, package_state: latest } - { role: package, package_name: ca-certificates, package_state: latest }
- { role: package, package_name: openssh-server, package_state: latest } - { role: package, package_name: openssh-server, package_state: latest }
- { role: package, package_name: sysstat, package_state: latest }
- { role: package, package_name: strace, package_state: latest } - { role: package, package_name: strace, package_state: latest }
- { role: package, package_name: htop, package_state: latest } - { role: package, package_name: htop, package_state: latest }
- { role: package, package_name: ioping, package_state: latest } - { role: package, package_name: ioping, package_state: latest }
...@@ -27,3 +26,4 @@ ...@@ -27,3 +26,4 @@
- vifib-team-ssh-key - vifib-team-ssh-key
- vifib-server - vifib-server
- rsyslogd - rsyslogd
- sysstat
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment