- name: install docker
  community.general.pacman:
    name:
      - docker
      - docker-compose
    state: present

- name: Adding user {{users.client.username}} to relevant docker usergroup  
  user: 
    name: "{{users.client.username}}"
    groups: docker
    append: yes
