--- - name: verify that .ssh exists file: path: /root/.ssh state: directory mode: "0600" tags: - sync - name: sync ssh authorized_keys copy: src: authorized_keys dest: /root/.ssh/authorized_keys tags: - sync