--- - hosts: all become: true tasks: - name: Add user to group user: name: akshun groups: docker append: yes