--- - name: ensure '{{ devstack_dir }}' exists become: true become_user: root file: path: '{{ devstack_dir | realpath }}' state: directory mode: '0755' owner: stack group: stack - name: checkout devstack files from '{{ devstack_git_repo }}' git: repo: '{{ devstack_git_repo }}' dest: '{{ devstack_dir | realpath }}' update: no become: true become_user: stack