Skip to content

Commit

Permalink
fix(caddy_server): fix install on existing systems
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhoesel committed May 20, 2022
1 parent a24aa3e commit 1a7945a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roles/caddy_server/tasks/install_debian.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: Old apt-key trusted key is absent
ansible.builtin.apt_key:
id: 65760C51EDEA2017CEA2CA15155B6D79CA56EA34
state: absent

- name: Requirements are installed
ansible.builtin.package:
name:
Expand All @@ -8,11 +13,6 @@
- "{{ 'python3-requests' if ansible_python_version is version('3', '>=') else 'python-requests' }}"
update_cache: yes

- name: Old apt-key trusted key is absent
ansible.builtin.apt_key:
id: 65760C51EDEA2017CEA2CA15155B6D79CA56EA34
state: absent

- name: APT Key is stored in keyring
ansible.builtin.apt_key:
url: https://dl.cloudsmith.io/public/caddy/stable/gpg.key
Expand Down

0 comments on commit 1a7945a

Please sign in to comment.