add apt_repository role

This commit is contained in:
uumas
2023-07-14 15:14:54 +03:00
parent 8742ccd7f1
commit a9772173d2
7 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
- name: Converge
hosts: all
tasks:
- name: "Include apt_repository"
ansible.builtin.import_role:
name: apt_repository
vars:
repo_name: docker
repo_url: https://download.docker.com/linux/{{ ansible_distribution | lower }}
repo_key_url: https://download.docker.com/linux/debian/gpg
repo_arch: "{{ apt_arch }}"
repo_components:
- stable