Refactor get process to add multiple sources later on

This commit is contained in:
2023-11-14 17:06:31 +01:00
parent 2fb48c494b
commit b684c293b0
10 changed files with 162 additions and 107 deletions

View File

@@ -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:

View File

@@ -2,7 +2,7 @@
Description=Run photo update regularly
[Timer]
OnCalendar=08:00
OnCalendar=7:30
OnCalendar=16:00
Persistent=true