docker: add reset_connection

reset ssh connection to pick up docker group after the task that add the
deployment user to docker group.

Change-Id: Ifb9a9ad6c467b8f244665696ed02cdbdc7f9a9de
This commit is contained in:
Emilien Macchi 2019-01-30 15:09:11 -05:00
parent 2cba7e32b7
commit 70a9413057
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@
append: yes
when: container_registry_deployment_user | length > 0
- name: reset ssh connection to pick up docker group
meta: reset_connection
when: container_registry_deployment_user | length > 0
- name: force systemd to reread configs
meta: flush_handlers