--- # Setup the API website - name: "Make sure api directory exists" ansible.builtin.file: path: "/var/www/api/" state: directory owner: fflux group: fflux mode: '0755' become: true - name: "Clone api repo" ansible.builtin.git: accept_newhostkey: yes repo: "ssh://kallithea@projects.c3l.lu/freifunk/web/api" dest: "/var/www/api/" version: "main" become: true become_user: fflux