mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
Update install-docker.yaml
This commit is contained in:
parent
6bbd357570
commit
1e9999fe5c
@ -34,7 +34,7 @@
|
|||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: add user permissions
|
- name: add user permissions
|
||||||
shell: "usermod -aG docker {{ ansible_env.USER }}"
|
shell: "usermod -aG docker {{ ansible_env.SUDO_USER }}"
|
||||||
|
|
||||||
# Installs Docker SDK
|
# Installs Docker SDK
|
||||||
# --
|
# --
|
||||||
@ -44,7 +44,7 @@
|
|||||||
name: python3-pip
|
name: python3-pip
|
||||||
|
|
||||||
- name: install python sdk
|
- name: install python sdk
|
||||||
become_user: "{{ ansible_env.USER }}"
|
become_user: "{{ ansible_env.SUDO_USER }}"
|
||||||
pip:
|
pip:
|
||||||
name:
|
name:
|
||||||
- docker
|
- docker
|
||||||
|
Loading…
Reference in New Issue
Block a user