fix: force images pull and change default ports

This commit is contained in:
Clément Désiles
2026-02-14 21:02:51 +01:00
parent 23c7da84bb
commit 6393ff6ed3
7 changed files with 35 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ ntfy_admin_user: admin
# ntfy_admin_password: "" # Intentionally undefined - role will fail if not set
# Network configuration
ntfy_port: 8080
ntfy_port: 8090
# Container image
ntfy_image: binwiederhier/ntfy
+7
View File
@@ -37,6 +37,13 @@
mode: "0644"
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
ansible.builtin.template:
src: ntfy.yaml.j2