From 3a86b35340db8b6fe0c5c9e48dcdbb5b04246ab4 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 23 Nov 2017 15:35:12 +0100 Subject: [PATCH] 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 --- .../puppet-stack-config.yaml.template | 1 + releasenotes/notes/ansible-deploy-a257e06fddb7001f.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 releasenotes/notes/ansible-deploy-a257e06fddb7001f.yaml diff --git a/elements/puppet-stack-config/puppet-stack-config.yaml.template b/elements/puppet-stack-config/puppet-stack-config.yaml.template index b41302c9f..3e3c684f2 100644 --- a/elements/puppet-stack-config/puppet-stack-config.yaml.template +++ b/elements/puppet-stack-config/puppet-stack-config.yaml.template @@ -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}} diff --git a/releasenotes/notes/ansible-deploy-a257e06fddb7001f.yaml b/releasenotes/notes/ansible-deploy-a257e06fddb7001f.yaml new file mode 100644 index 000000000..4c03ff312 --- /dev/null +++ b/releasenotes/notes/ansible-deploy-a257e06fddb7001f.yaml @@ -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 --deploy-interface ansible \ + --driver-info ansible_deploy_username= \ + --driver-info ansible_deploy_key_file=