Ansible synchronize prompts passphrase even if already entered at the beginning
问题 The synchronize module of Ansible (v1.6.5) prompts for the passphrase (Enter passphrase for key) even though I already entered it at the beginning of running the playbook. Any idea why? I run my playbook with the following options: -u myuser --ask-sudo-pass --private-key=/path/to/id_rsa Here is my synchronize task: - name: synchronize source files in src location sudo: yes synchronize: src={{local_src}} dest={{project_dirs.src}} archive=yes delete=yes rsync_opts=["--compress"] when: