Le 10 août 2017 à 10:52, Ondra Machacek <omachace@redhat.com> a écrit :Creates a new host. The host is created based on the attributes of the host parameter. The name, address and root_password properties are required.
But what to do if I don't have a root password to give ?It's just true/false, you can't specify which key to use, it's using the default one:
types.Host(
ssh=types.Ssh(),
authentication_method=types. SshAuthenticationMethod.PUBLIC KEY ,
...
)I tried, it works.But it's strange, because then, root_password which is mandatory, can be filled with None. So why it should be mandatory ?\