Browse Source

add log file for login service

python3
Andrea Cimbalo 7 years ago
parent
commit
de2b758a71
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      roles/login/tasks/main.yaml

+ 8
- 0
roles/login/tasks/main.yaml View File

@ -53,6 +53,14 @@
notify: notify:
- restart login - restart login
- name: create /var/log/login.log
file:
path: /var/log/login.log
owner: login
group: login
mode: 0664
state: file
- name: reload systemd - name: reload systemd
systemd: systemd:
daemon_reload: yes daemon_reload: yes


Loading…
Cancel
Save