--- - block: - name: copy public key for ddclient copy: dest: /etc/Kvps.key src: files/Kvps.key - name: copy private key for ddclient copy: dest: /etc/Kvps.private src: files/Kvps.private - name: configure ddlient.conf copy: content: "{{ ddclient_conf }}" dest: "/etc/ddclient.conf" notify: restart ddclient