Professional Documents
Culture Documents
Ansible Sibelius When Clause
Ansible Sibelius When Clause
- hosts: host01
tasks:
- stat: path=/home/ubuntu/folder1/somefile.j2
register: st
- template: src=somefile.j2 dest=/home/ubuntu/folder1/somefile.j2
when: not st.stat.exists