--- - name: Close storage for ansible credentials file: path: "/etc/ansible-credentials" state: directory owner: root group: ansible-credentials mode: 0700