Remove logo

This commit is contained in:
Daniel A. Maierhofer
2018-08-14 16:07:14 +02:00
parent ad0ef9f803
commit ebab2cc7ab
2 changed files with 10 additions and 1 deletions

View File

@@ -45,6 +45,15 @@
- thread-3.conf - thread-3.conf
notify: restart motioneye notify: restart motioneye
- name: motion - remove logo
lineinfile:
dest: /usr/local/lib/python2.7/dist-packages/motioneye/templates/main.html
regexp: "{{ item }}"
state: absent
with_items:
- '<span class="logo">motionEye</span>'
- '<div class="copyright-note">copyright &copy; Calin Crisan</div>'
- name: motion - copy service file - name: motion - copy service file
copy: src=motioneye.service dest=/etc/systemd/system/motioneye.service copy: src=motioneye.service dest=/etc/systemd/system/motioneye.service
notify: restart motioneye notify: restart motioneye