update to reflect immich api changes

This commit is contained in:
2024-03-03 13:15:50 +01:00
parent d3a641e1f8
commit e05196ff83
5 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
tasks:
- name: Load program variables
ansible.builtin.include_vars:
file: ../program_variables.yml
file: ./program_variables.yml
name: program_variables
- name: Pull the latest version of the code

View File

@@ -53,8 +53,3 @@
reboot:
connect_timeout: 20
reboot_timeout: 300
- name: Wait for the Raspberry Pi to reboot
wait_for_connection:
delay: 5
timeout: 300

View File

@@ -5,6 +5,7 @@ Description=Show new photo onto the eink display
Type=oneshot
User={{ ansible_user }}
WorkingDirectory={{ code_dest }}
ExecStartPre=/bin/sleep 30
ExecStart=python main.py
Environment="OWN_IMAGE_PERCENT={{ program_variables.OWN_IMAGE_PERCENT }}"
Environment="RECIPIENT={{ program_variables.RECIPIENT }}"