added other sources for more variety

This commit is contained in:
2023-11-17 22:25:55 +01:00
parent b684c293b0
commit 08bdfe970c
10 changed files with 140 additions and 45 deletions

View File

@@ -4,9 +4,12 @@
# become: true
vars:
# mostly fixed
repo_dest: /home/remy/eink
code_dest: /home/remy/eink/src
service_target_dir: /etc/systemd/system/
# adapt to taste
own_image_percent: 90
tasks:
- name: Pull the latest version of the code
@@ -22,7 +25,7 @@
- zlib1g
state: present
become: true
- name: Install from the pipenv-file
command: "pipenv install --system --deploy --categories=\"packages prod-packages\""
args:

View File

@@ -6,6 +6,7 @@ Type=oneshot
User={{ ansible_user }}
WorkingDirectory={{ code_dest }}
ExecStart=python main.py
Environment="OWN_IMAGE_PERCENT={{ own_image_percent }}"
[Install]