1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-10-31 02:32:25 -04:00 committed by GitHub
parent 9f4f81ef5c
commit 862c0d9db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,14 +21,14 @@
when: iiab_lan_iface is defined
- name: Enable & Start vnStat's systemd service
service:
systemd:
name: vnstat
enabled: yes
state: started
- name: Add 'vnstat' to list of services at {{ iiab_ini_file }}
- name: Add 'vnstat' variable values to {{ iiab_ini_file }}
ini_file:
dest: "{{ iiab_ini_file }}"
path: "{{ iiab_ini_file }}"
section: vnstat
option: "{{ item.option }}"
value: "{{ item.value }}"