goaccess/tasks/main.yaml
changeset 131 746d5fdbbc18
equal deleted inserted replaced
130:46785fdb4fc5 131:746d5fdbbc18
       
     1 ---
       
     2 
       
     3 - name: apt install goaccess
       
     4   become: yes
       
     5   apt: name="goaccess"
       
     6 
       
     7 - name: install systemd timer and service
       
     8   become: yes
       
     9   template: src="goaccess.{{item}}.j2" dest="/lib/systemd/system/goaccess.{{item}}"
       
    10   loop:
       
    11     - "timer"
       
    12     - "service"
       
    13   notify: daemon reload
       
    14 
       
    15 - name: ensure timer is started
       
    16   become: yes
       
    17   systemd: name="goaccess.timer" enabled="yes" state="started"