--- - name: Create ddns-config directory file: path: "{{ docker_dir }}/ddns-updater/data/" owner: 1000 group: 1000 mode: '700' state: directory - name: Copy ddns-config template: owner: 1000 src: "templates/pi/ddns-updater/data/config.json" dest: "{{ docker_dir }}/ddns-updater/data/config.json" mode: '400'