apt_repository: add caddy repo as molecule test

This commit is contained in:
uumas
2023-09-04 01:38:05 +03:00
parent fa7288bc7b
commit 3abf4a49f3
2 changed files with 29 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
- name: Converge
hosts: all
tasks:
- name: "Include apt_repository"
ansible.builtin.import_role:
- name: Add docker apt repository
ansible.builtin.include_role:
name: apt_repository
vars:
repo_name: docker
@@ -12,3 +12,14 @@
repo_arch: "{{ apt_arch }}"
repo_components:
- stable
- name: Add caddy apt repository
ansible.builtin.include_role:
name: apt_repository
vars:
repo_name: caddy-stable
repo_url: https://dl.cloudsmith.io/public/caddy/stable/deb/debian
repo_key_url: https://dl.cloudsmith.io/public/caddy/stable/gpg.key
repo_suite: any-version
repo_components:
- main