Fix some deprecation warnings

This commit is contained in:
Tobias Reisinger 2026-11-01 20:45:29 +01:00
commit 839432058b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 20 additions and 10 deletions

View file

@ -26,7 +26,7 @@ acme_dns_compose:
services:
app:
ports:
- "{{ ansible_default_ipv4.address }}:53:53"
- "{{ ansible_default_ipv4.address }}:53:53/udp"
- "{{ ansible_default_ipv6.address }}:53:53"
- "{{ ansible_default_ipv6.address }}:53:53/udp"
- "{{ ansible_facts.default_ipv4.address }}:53:53"
- "{{ ansible_facts.default_ipv4.address }}:53:53/udp"
- "{{ ansible_facts.default_ipv6.address }}:53:53"
- "{{ ansible_facts.default_ipv6.address }}:53:53/udp"

View file

@ -12,9 +12,15 @@
become: true
- name: Add postgresql repo into sources list
ansible.builtin.apt_repository:
repo: deb [signed-by={{ postgresql_repo_key_file }}] https://apt.postgresql.org/pub/repos/apt {{ ansible_distribution_release }}-pgdg main
state: present
ansible.builtin.deb822_repository:
name: postgresql
types: deb
uris: https://apt.postgresql.org/pub/repos/apt
signed_by: "{{ postgresql_repo_key_file }}"
suites: "{{ ansible_facts.lsb.codename }}"
components:
- "{{ ansible_facts.lsb.codename }}-pgdg"
- main
become: true
- name: Install postgresql

View file

@ -20,9 +20,13 @@
become: true
- name: Add Docker Repository
ansible.builtin.apt_repository:
repo: deb https://download.docker.com/linux/debian {{ ansible_lsb.codename }} stable
state: present
ansible.builtin.deb822_repository:
name: docker
types: deb
uris: https://download.docker.com/linux/debian
suites: "{{ ansible_facts.lsb.codename }}"
components:
- stable
become: true
- name: Update apt and install docker packages