fix: force images pull and change default ports
This commit is contained in:
parent
23c7da84bb
commit
6393ff6ed3
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
# Gitea version
|
# Gitea version
|
||||||
gitea_version: "1.22"
|
gitea_version: "latest"
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
gitea_port: 3000
|
gitea_port: 3100
|
||||||
|
|
||||||
# Container image
|
# Container image
|
||||||
gitea_image: gitea/gitea
|
gitea_image: gitea/gitea
|
||||||
|
|||||||
@ -79,6 +79,13 @@
|
|||||||
group: "{{ ansible_user }}"
|
group: "{{ ansible_user }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Pull Gitea container image
|
||||||
|
ansible.builtin.command: "podman pull {{ gitea_image }}:{{ gitea_version }}"
|
||||||
|
changed_when: pull_result.stdout is search('Writing manifest')
|
||||||
|
register: pull_result
|
||||||
|
become: false
|
||||||
|
become_user: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: Deploy Kubernetes YAML for Gitea
|
- name: Deploy Kubernetes YAML for Gitea
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: gitea.yaml.j2
|
src: gitea.yaml.j2
|
||||||
|
|||||||
@ -86,6 +86,16 @@
|
|||||||
loop:
|
loop:
|
||||||
- "{{ immich_upload_location }}"
|
- "{{ immich_upload_location }}"
|
||||||
|
|
||||||
|
- name: Pull Immich container images
|
||||||
|
ansible.builtin.command: "podman pull {{ item }}"
|
||||||
|
loop:
|
||||||
|
- "{{ immich_server_image }}:{{ immich_version }}"
|
||||||
|
- "{{ immich_ml_image }}:{{ immich_version }}"
|
||||||
|
changed_when: pull_result.stdout is search('Writing manifest')
|
||||||
|
register: pull_result
|
||||||
|
become: false
|
||||||
|
become_user: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: Deploy Kubernetes YAML for Immich
|
- name: Deploy Kubernetes YAML for Immich
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: immich.yaml.j2
|
src: immich.yaml.j2
|
||||||
|
|||||||
@ -12,7 +12,7 @@ ntfy_admin_user: admin
|
|||||||
# ntfy_admin_password: "" # Intentionally undefined - role will fail if not set
|
# ntfy_admin_password: "" # Intentionally undefined - role will fail if not set
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
ntfy_port: 8080
|
ntfy_port: 8090
|
||||||
|
|
||||||
# Container image
|
# Container image
|
||||||
ntfy_image: binwiederhier/ntfy
|
ntfy_image: binwiederhier/ntfy
|
||||||
|
|||||||
@ -37,6 +37,13 @@
|
|||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: Restart ntfy
|
notify: Restart ntfy
|
||||||
|
|
||||||
|
- name: Pull ntfy container image
|
||||||
|
ansible.builtin.command: "podman pull {{ ntfy_image }}:{{ ntfy_version }}"
|
||||||
|
changed_when: pull_result.stdout is search('Writing manifest')
|
||||||
|
register: pull_result
|
||||||
|
become: false
|
||||||
|
become_user: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: Deploy Kubernetes YAML for ntfy
|
- name: Deploy Kubernetes YAML for ntfy
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: ntfy.yaml.j2
|
src: ntfy.yaml.j2
|
||||||
|
|||||||
@ -7,7 +7,7 @@ uptime_kuma_version: "2"
|
|||||||
uptime_kuma_data_dir: "{{ podman_projects_dir }}/uptime-kuma/data"
|
uptime_kuma_data_dir: "{{ podman_projects_dir }}/uptime-kuma/data"
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
uptime_kuma_port: 3001
|
uptime_kuma_port: 3300
|
||||||
|
|
||||||
# Container image
|
# Container image
|
||||||
uptime_kuma_image: louislam/uptime-kuma
|
uptime_kuma_image: louislam/uptime-kuma
|
||||||
|
|||||||
@ -15,6 +15,13 @@
|
|||||||
group: "{{ ansible_user }}"
|
group: "{{ ansible_user }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Pull Uptime Kuma container image
|
||||||
|
ansible.builtin.command: "podman pull {{ uptime_kuma_image }}:{{ uptime_kuma_version }}"
|
||||||
|
changed_when: pull_result.stdout is search('Writing manifest')
|
||||||
|
register: pull_result
|
||||||
|
become: false
|
||||||
|
become_user: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: Deploy Kubernetes YAML for uptime-kuma
|
- name: Deploy Kubernetes YAML for uptime-kuma
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: uptime-kuma.yaml.j2
|
src: uptime-kuma.yaml.j2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user