Enable Chrome/Playwright for changedetection

This commit is contained in:
Thomas Kleinendorst 2024-11-21 21:52:36 +01:00
parent 5794ef6625
commit 6786060a1f
5 changed files with 53 additions and 17 deletions

View file

@ -26,6 +26,8 @@
--agree-tos -m {{ administration_email }}
-d postgres.kleinendorst.info
creates: "/etc/letsencrypt/live/postgres.kleinendorst.info"
# TODO: Instead of creating a seperate postgres user specifically for storing
# the files we might also upload the compose to the default account and run from there.
- name: Create the compose project directory
become: true
become_user: "{{ postgres_unix_username }}"
@ -38,12 +40,11 @@
become: true
become_user: "{{ postgres_unix_username }}"
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "/home/{{ postgres_unix_username }}/postgres/docker-compose.yml"
src: docker-compose.yaml.j2
dest: "/home/{{ postgres_unix_username }}/postgres/docker-compose.yaml"
owner: "{{ postgres_unix_username }}"
mode: '0644'
- name: Create and start services
become: true
community.docker.docker_compose_v2:
project_src: "/home/{{ postgres_unix_username }}/postgres/"
register: docker_compose_output