begin using galaxy

This commit is contained in:
eneller
2023-03-31 14:16:42 +02:00
parent 7b972c9f81
commit d393ba8b57
11 changed files with 106 additions and 34 deletions

View File

@@ -7,7 +7,7 @@
- gnupg
- lsb-release
state: latest
update_cache: yes
update_cache: true
- name: Add Docker GPG Key
become: true
@@ -19,13 +19,13 @@
- name: Add Docker Repository
become: true
apt_repository:
repo: "deb [arch={{ arch }}] https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} stable"
repo: "deb [arch={{ arch }}] https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} {{release_branch_docker}}"
state: present
- name: Install Docker packages
become: true
apt:
update_cache: yes
update_cache: true
pkg:
- docker-ce
- docker-ce-cli
@@ -39,7 +39,7 @@
name: "{{ ansible_user_id }}"
groups:
- docker
append: yes
append: true
- name: Create docker folder in home directory
file: