Enable the ansible deploy interface out of box

This new deploy interface works by SSHing into IPA and using ansible to
orchestrate all deployment actions.

Change-Id: Ic697d50710a9ad92f70386b8dd74019e8cd5320b
Implements: blueprint ansible-deploy
This commit is contained in:
Dmitry Tantsur 2017-11-23 15:35:12 +01:00
parent 58701fe014
commit 3a86b35340
2 changed files with 10 additions and 0 deletions

View File

@ -515,6 +515,7 @@ ironic::conductor::enabled_hardware_types: {{ENABLED_HARDWARE_TYPES}}
ironic::drivers::interfaces::default_inspect_interface: inspector
ironic::drivers::interfaces::enabled_boot_interfaces: {{ENABLED_BOOT_INTERFACES}}
ironic::drivers::interfaces::enabled_console_interfaces: ['no-console', 'ipmitool-socat']
ironic::drivers::interfaces::enabled_deploy_interfaces: ['iscsi', 'direct', 'ansible']
ironic::drivers::interfaces::enabled_inspect_interfaces: ['no-inspect', 'inspector']
ironic::drivers::interfaces::enabled_management_interfaces: {{ENABLED_MANAGEMENT_INTERFACES}}
ironic::drivers::interfaces::enabled_power_interfaces: {{ENABLED_POWER_INTERFACES}}

View File

@ -0,0 +1,9 @@
---
features:
- |
The ``ansible`` deploy interface is enabled by default. It can be used by
updating a node with the following command::
openstack baremetal node set <NODE> --deploy-interface ansible \
--driver-info ansible_deploy_username=<SSH_USER> \
--driver-info ansible_deploy_key_file=<SSH_KEY_FILE>