On 04/02/2015 06:38 PM, Kevin Fenzi wrote:
The new ansible 1.9 version has a known_hosts module. ;)
So, stick at the top of your playbook:
- name: clean out old known_hosts
local_action: known_hosts path=/root/.ssh/known_hosts
name=copr-be-dev.cloud.fedoraproject.org state=absent
Awesome. I will try it.
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys