-
-
Save tsoliangwu0130/b75453a76d2ac46e9a755ba0c482df1a to your computer and use it in GitHub Desktop.
Revisions
-
maxim created this gist
Jun 12, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ - name: ensure github.com is a known host lineinfile: dest: /root/.ssh/known_hosts create: yes state: present line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" regexp: "^github\\.com"