Narete stvari da delajo
This commit is contained in:
parent
64a10b0512
commit
29b2beca5a
45 changed files with 809 additions and 1600 deletions
|
@ -106,6 +106,11 @@
|
|||
src: ./malinaConfig.toml.j2
|
||||
dest: "{{INSTALL_BASE}}/malinaConfig.toml"
|
||||
|
||||
- name: Install python libraries
|
||||
ansible.builtin.shell:
|
||||
cmd: "poetry install"
|
||||
chdir: "{{INSTALL_BASE}}"
|
||||
|
||||
|
||||
#
|
||||
# INSTALL FRONTEND
|
||||
|
@ -129,16 +134,11 @@
|
|||
- name: Fix www root permission
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: "/var/www/html/"
|
||||
path: "/var/www/html"
|
||||
owner: pi
|
||||
group: pi
|
||||
recurse: true
|
||||
mode: '0644'
|
||||
|
||||
- name: Install python libraries
|
||||
ansible.builtin.shell:
|
||||
cmd: "poetry install"
|
||||
chdir: "{{INSTALL_BASE}}/controller"
|
||||
mode: 'u=rwX,g=rX,o=rX'
|
||||
|
||||
#
|
||||
# SERVICES
|
||||
|
@ -175,7 +175,7 @@
|
|||
- barco@side.service
|
||||
|
||||
# Lifti za projektorje (naši releji)
|
||||
- name: template projector motors service
|
||||
- name: template projector motors service
|
||||
when: projector_motors is defined
|
||||
block:
|
||||
- name: template service
|
||||
|
@ -191,7 +191,7 @@
|
|||
enabled: true
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
|
||||
|
||||
# Power, platna, etc. (TSE relay box)
|
||||
- name: template tse serial box service
|
||||
when: tse_box is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue