Skip to content

Commit

Permalink
add os user to docker group
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 18, 2019
1 parent 79dccd7 commit 910592e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@
become: yes
become_method: sudo

- name: adding existing user "{{ ansible_ssh_user }}" to group docker
user:
name: "{{ ansible_ssh_user }}"
groups: docker
append: yes
become: yes
become_method: sudo

- name: copy s3cmd config
template:
src: s3cmd.cfg
Expand Down

0 comments on commit 910592e

Please sign in to comment.