Difference between revisions of "Installing sysstat using Ansible"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | TOMERGE | |
<pre> | <pre> | ||
Line 27: | Line 27: | ||
when: ansible_distribution == 'Ubuntu' | when: ansible_distribution == 'Ubuntu' | ||
</pre> | </pre> | ||
+ | |||
+ | == Related == | ||
+ | * [[Install and configure sysstat using Ansible]] | ||
Line 32: | Line 35: | ||
* {{sar}} | * {{sar}} | ||
* {{Ansible}} | * {{Ansible}} | ||
+ | |||
+ | [[Category:Ansible]] |
Revision as of 13:53, 5 November 2021
TOMERGE
#!/usr/bin/env ansible-playbook - hosts: YOUR_HOSTNAME become: yes tasks: - name: Install and start as service sysstat for Ubuntu block: - package: name: sysstat state: present - lineinfile: path: /etc/default/sysstat state: present backrefs: yes regexp: '^ENABLED="false"' line: 'ENABLED="true"' - service: name: sysstat state: started enabled: yes when: ansible_distribution == 'Ubuntu'
Related
See also
sar
, installation, sar -A,sar -F, sar -d
,sar -I ALL
,sar -n NFS
,sar -r
,sar -S
,sar -W
,sar -n ALL
, Installing sysstat using Ansible,/etc/sysstat/sysstat
,/etc/cron.d/sysstat
,sar --help
, Sysstat changelog,/var/log/sysstat/
,cpu time steal
, sargraph, isag, Telegraf- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: