update to reflect immich api changes
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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 }}"
|
||||
|
Reference in New Issue
Block a user