<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 10 août 2017 à 10:52, Ondra Machacek &lt;<a href="mailto:omachace@redhat.com" class="">omachace@redhat.com</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div></div></div></div></blockquote><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Creates a new host. The host is created based on the attributes of the&nbsp;host&nbsp;parameter. The&nbsp;name,&nbsp;address&nbsp;and&nbsp;root_<wbr class="">password&nbsp;properties are required.<br class=""><br class="">But what to do if I don't have a root password to give ?<br class=""></div></blockquote><div class=""><br class=""><div class="">It's just true/false, you can't specify which key to use, it's using the default one:<br class=""><br class="">types.Host(<br class=""><span class="gmail-pl-v">&nbsp; ssh</span><span class="gmail-pl-k">=</span>types.Ssh(
      
      
        <table class="gmail-tab-size gmail-highlight gmail-js-file-line-container"><tbody class=""><tr class=""><td id="gmail-LC215" class="gmail-js-file-line gmail-blob-code gmail-blob-code-inner">&nbsp;&nbsp; <span class="gmail-pl-v">authentication_method</span><span class="gmail-pl-k">=</span>types.SshAuthenticationMethod.<span class="gmail-pl-c1">PUBLICKEY</span>,</td>
      </tr>
      <tr class="">
        </tr></tbody></table>&nbsp; ),<br class="">&nbsp; ...<br class="">)<br class=""></div><br class=""></div></div></div></div></div></blockquote><br class=""></div><div>I tried, it works.</div><div><br class=""></div><div>But it's strange, because then, root_<wbr class="">password which is mandatory, can be filled with None. So why it should be mandatory ?</div><br class=""></body></html>