--- - name: Templatize SSH key provision script template: src=provision_ssh.j2.sh dest=/tmp/openshift_gcp_provision_ssh.sh mode=u+rx - name: Provision GCP SSH key resources command: /tmp/openshift_gcp_provision_ssh.sh args: chdir: "{{ files_dir }}" when: - state | default('present') == 'present'