1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update vnstat/tasks/main.yml

This commit is contained in:
A Holt 2020-01-23 21:43:18 -05:00 committed by GitHub
parent fdb671e862
commit 0105c77393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,12 +25,15 @@
regexp: '^vnstat_installed'
line: 'vnstat_installed: True'
- name: Enable & Start vnStat's systemd service
- name: Enable & Start vnStat's systemd service (vnstat)
systemd:
name: vnstat
daemon_reload: yes
enabled: yes
state: started
state: restarted
when: vnstat_enabled | bool
- name: Add 'vnstat' variable values to {{ iiab_ini_file }}
ini_file: