841c18e7eb
Ansible require valid hostname in /etc/hosts file. This file does not exists in ubuntu-minimal Xenial, which causes build fail. This change ensures that /etc/hosts file exists and has required content. This change requires dib > 1.25.2 (or current master branch). Also, move openssh-server from package-installs to element-deps, as there is a separate element for that. Change-Id: I5ff78cf6591ef2228a3695d91d8b2c2095fc28b3
ironic-ansible
Builds a ramdisk for Ironic Ansible deploy driver.
This element is based on the following elements:
devuser
to create and configure a user for Ansible to access the nodeironic-agent
to provide Ironic API lookup and heartbeats via IPA
Consult docs for those elements for available options.
Additionally this element:
- ensures OpenSSH is installed and configured properly
- correctly sets hostname to avoid some Ansible problems with elevation
Note: compared to devuser
element, this element
always gives the configured user password-less sudo
permissions (unconfigurable).
Requires Ironic API >= 1.22.