Refactor get process to add multiple sources later on
This commit is contained in:
@@ -4,14 +4,15 @@
|
||||
# become: true
|
||||
|
||||
vars:
|
||||
code_dest: /home/remy/eink
|
||||
repo_dest: /home/remy/eink
|
||||
code_dest: /home/remy/eink/src
|
||||
service_target_dir: /etc/systemd/system/
|
||||
|
||||
tasks:
|
||||
- name: Pull the latest version of the code
|
||||
git:
|
||||
repo: https://git.kluster.moll.re/remoll/rpi-eink-picture-frame
|
||||
dest: "{{ code_dest }}"
|
||||
dest: "{{ repo_dest }}"
|
||||
version: main
|
||||
|
||||
- name: Install pillow dependencies
|
||||
@@ -25,7 +26,7 @@
|
||||
- name: Install from the pipenv-file
|
||||
command: "pipenv install --system --deploy --categories=\"packages prod-packages\""
|
||||
args:
|
||||
chdir: "{{ code_dest }}"
|
||||
chdir: "{{ repo_dest }}"
|
||||
|
||||
- name: Copy keys python file
|
||||
copy:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
Description=Run photo update regularly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=08:00
|
||||
OnCalendar=7:30
|
||||
OnCalendar=16:00
|
||||
Persistent=true
|
||||
|
||||
|
Reference in New Issue
Block a user