diff --git a/playbooks/roles/bifrost-ironic-install/defaults/main.yml b/playbooks/roles/bifrost-ironic-install/defaults/main.yml index a62f9b1b1..2af90f129 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/main.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/main.yml @@ -114,7 +114,7 @@ inventory_dhcp: False inventory_dns: False # Settings to enable the use of inspector -enable_inspector: false +enable_inspector: true inspector_auth: "noauth" inspector_debug: true inspector_manage_firewall: false diff --git a/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 index 02303ce5e..6a5e458a4 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 @@ -31,5 +31,5 @@ always_store_ramdisk_logs = {{ inspector_store_ramdisk_logs | default('true') | node_not_found_hook = enroll [discovery] -enroll_node_driver = {{ inspector.discovery.enroll_node_driver | default('fake') }} +enroll_node_driver = {{ inspector.discovery.enroll_node_driver | default('pxe_ssh') }} {% endif %} diff --git a/releasenotes/notes/enable_inspector_by_default-828fc1284d6a7c2b.yaml b/releasenotes/notes/enable_inspector_by_default-828fc1284d6a7c2b.yaml new file mode 100644 index 000000000..44060375f --- /dev/null +++ b/releasenotes/notes/enable_inspector_by_default-828fc1284d6a7c2b.yaml @@ -0,0 +1,6 @@ +--- +prelude: > + Inspector now installed and enabled by default. +features: + - Changes default value for enable_inspector variable + from false to true.