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

- name: Adding user {{client_username}} to relevant docker usergroup  
  user: name={{client_username}}
        groups=docker
        append=yes