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:
parent
fdb671e862
commit
0105c77393
1 changed files with 5 additions and 2 deletions
|
@ -25,12 +25,15 @@
|
||||||
regexp: '^vnstat_installed'
|
regexp: '^vnstat_installed'
|
||||||
line: 'vnstat_installed: True'
|
line: 'vnstat_installed: True'
|
||||||
|
|
||||||
- name: Enable & Start vnStat's systemd service
|
|
||||||
|
- name: Enable & Start vnStat's systemd service (vnstat)
|
||||||
systemd:
|
systemd:
|
||||||
name: vnstat
|
name: vnstat
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: restarted
|
||||||
|
when: vnstat_enabled | bool
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'vnstat' variable values to {{ iiab_ini_file }}
|
- name: Add 'vnstat' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
|
|
Loading…
Reference in a new issue