From 80fd1cc254aa75304456bc10961c9e2a31773ae2 Mon Sep 17 00:00:00 2001 From: Iago Regiani Date: Mon, 26 Jul 2021 13:56:02 -0400 Subject: [PATCH] Platform.conf has duplicated region_config entries Bootstrap playbook is currently writing two times the key, first by puppet and second on the task "Add new entries to platform.conf". This removes the second addition. Tested running the playbook on a SX, DC, on subcloud Backup & Restore, and re-ran it on the subcloud. In all cases the platform.conf file contains only one region_config and the subclouds were in sync with no unexpected alarms. Closes-bug: #1931529 Change-Id: I55f17ddfdedf5cc6b16c7d55daa99e57bfbb38bc Signed-off-by: Iago Regiani --- .../src/playbooks/roles/bootstrap/persist-config/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/playbookconfig/src/playbooks/roles/bootstrap/persist-config/tasks/main.yml b/playbookconfig/src/playbooks/roles/bootstrap/persist-config/tasks/main.yml index 8840d702e..03f6c1edd 100644 --- a/playbookconfig/src/playbooks/roles/bootstrap/persist-config/tasks/main.yml +++ b/playbookconfig/src/playbooks/roles/bootstrap/persist-config/tasks/main.yml @@ -352,7 +352,6 @@ path: /etc/platform/platform.conf line: "{{ item }}" with_items: - - region_config={{ region_config }} - sw_version={{ software_version }} - vswitch_type=none