--- - name: Create scripts directory file: path: /usr/scripts state: directory mode: "2775" owner: root group: nounou - name: Set ACL for scripts directory acl: path: /usr/scripts default: true entity: nounou etype: group permissions: rwx state: query when: not ansible_check_mode - name: Clone scripts repository git: repo: "{{ crans_scripts_git }}" dest: /usr/scripts version: master umask: "002" environment: GIT_SSL_NO_VERIFY: 1 when: not ansible_check_mode