<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 2:12 PM, Fabrice Bacchella <span dir="ltr">&lt;<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><br><div><blockquote type="cite"><div>Le 10 août 2017 à 10:52, Ondra Machacek &lt;<a href="mailto:omachace@redhat.com" target="_blank">omachace@redhat.com</a>&gt; a écrit :</div><br class="m_-6838048045225109530Apple-interchange-newline"><div><div dir="ltr"><br><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><blockquote type="cite"><div><div dir="ltr"><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>Creates a new host. The host is created based on the attributes of the host parameter. The name, address and root_pas<wbr>sword properties are required.<br><br>But what to do if I don&#39;t have a root password to give ?<br></div></blockquote><div><br><div>It&#39;s just true/false, you can&#39;t specify which key to use, it&#39;s using the default one:<br><br>types.Host(<br><span class="m_-6838048045225109530gmail-pl-v">  ssh</span><span class="m_-6838048045225109530gmail-pl-k">=</span>types.Ssh(
      
      
        <table class="m_-6838048045225109530gmail-tab-size m_-6838048045225109530gmail-highlight m_-6838048045225109530gmail-js-file-line-container"><tbody><tr><td id="m_-6838048045225109530gmail-LC215" class="m_-6838048045225109530gmail-js-file-line m_-6838048045225109530gmail-blob-code m_-6838048045225109530gmail-blob-code-inner">   <span class="m_-6838048045225109530gmail-pl-v">authentication_method</span><span class="m_-6838048045225109530gmail-pl-k">=</span>types.<wbr>SshAuthenticationMethod.<span class="m_-6838048045225109530gmail-pl-c1">PUBLIC<wbr>KEY</span>,</td>
      </tr>
      <tr>
        </tr></tbody></table>  ),<br>  ...<br>)<br></div><br></div></div></div></div></div></blockquote><br></div></span><div>I tried, it works.</div><div><br></div><div>But it&#39;s strange, because then, root_password which is mandatory, can be filled with None. So why it should be mandatory ?\</div></div></blockquote><div><br><br></div><div>I think this is documentation bug, because AFAIK, it&#39;s not mandatory. <br></div></div><br></div></div>