Fix some deprecation warnings
This commit is contained in:
parent
b88054c97e
commit
839432058b
3 changed files with 20 additions and 10 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue