bk node and refactor
This commit is contained in:
@@ -29,13 +29,20 @@
|
||||
containers.podman.podman_secret:
|
||||
name: "MEMOS_DSN"
|
||||
data: "postgresql://memos:{{ hostvars['console']['postgresql']['password']['memos'] | urlencode | replace('/', '%2F') }}\
|
||||
@{{ services['postgresql']['domain'] }}.{{ domain['internal'] }}/memos_db?sslmode=verify-full&\
|
||||
@{{ services['postgresql']['domain']['internal'] }}.{{ domain['internal'] }}/memos_db?sslmode=verify-full&\
|
||||
sslrootcert=/etc/ssl/memos/{{ root_cert_filename }}"
|
||||
state: "present"
|
||||
force: true
|
||||
no_log: true
|
||||
notify: "notification_restart_memos"
|
||||
|
||||
- name: Pull image
|
||||
containers.podman.podman_image:
|
||||
name: "docker.io/neosmemo/memos"
|
||||
tag: "{{ version['containers']['memos'] }}"
|
||||
state: "present"
|
||||
pull: true
|
||||
|
||||
- name: Deploy memos.container file
|
||||
ansible.builtin.template:
|
||||
src: "{{ hostvars['console']['node']['config_path'] }}/services/containers/app/memos/memos.container.j2"
|
||||
|
||||
Reference in New Issue
Block a user