[DNM] Testing docker group

Change-Id: Ia2a5c3ff52158405ef87b339c4cba5d672a5033f
This commit is contained in:
Sirisha Gopigiri 2021-05-30 17:51:02 +05:30
parent c9d6ca16ff
commit 3b8e4aae61
2 changed files with 1 additions and 7 deletions

View File

@ -65,9 +65,3 @@ printf "[defaults]\nroles_path = %s/roles\n" "$HCO_WS" > "$ANSIBLE_CFG"
ansible-playbook -i "$ANSIBLE_HOSTS" \
playbooks/airship-hostconfig-operator-deploy-docker.yaml \
-e @"$PLAYBOOK_CONFIG"
echo "Add docker permission to users"
sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock
sudo chown :docker /var/run/docker.sock
sudo newgrp docker

View File

@ -12,7 +12,7 @@
---
local_src_dir: "$HCO_WS"
ansible_user: root
ansible_user: "$USER"
proxy:
enabled: "$USE_PROXY"
http: "$HTTP_PROXY"