Stuff
This commit is contained in:
parent
5518bbafe0
commit
f10764dec1
1 changed files with 10 additions and 0 deletions
|
@ -2,41 +2,51 @@
|
|||
name: python3
|
||||
state: present
|
||||
update_cache: yes
|
||||
become: true
|
||||
|
||||
- apt:
|
||||
name: gcc
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- apt:
|
||||
name: python3-dev
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- apt:
|
||||
name: python3-setuptools
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- apt:
|
||||
name: python3-pip
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- pip:
|
||||
name: psutil
|
||||
executable: pip3
|
||||
become: true
|
||||
|
||||
- pip:
|
||||
name: statsd
|
||||
executable: pip3
|
||||
become: true
|
||||
|
||||
- git:
|
||||
repo: 'https://git.keks.cloud/kekskurse/monitoring.py.git'
|
||||
dest: /opt/monitoring.py
|
||||
update: yes
|
||||
become: true
|
||||
|
||||
- template:
|
||||
src: monitoringpy.service.j2
|
||||
dest: /etc/systemd/system/monitoringpy.service
|
||||
become: true
|
||||
|
||||
- systemd:
|
||||
state: restarted
|
||||
enabled: yes
|
||||
name: monitoringpy.service
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue