Repository: ansible/ansible-navigator (language: python)

Issue:
Move `playbook` to `playbook.path` in settings file
This will enable help_playbook to be moved under ansible.playbook.help

More to follow this to get the settings file in order for 2.0


Discussion / hints:

Fix patch:
diff --git a/docs/changelog-fragments.d/1102.breaking.md b/docs/changelog-fragments.d/1102.breaking.md
new file mode 100644
index 000000000..7a5f8f43d
--- /dev/null
+++ b/docs/changelog-fragments.d/1102.breaking.md
@@ -0,0 +1,3 @@
+Moved `ansible.config` to `ansible.config.path` in the settings file.
+
+-- by {user}`cidrblock`
diff --git a/src/ansible_navigator/configuration_subsystem/navigator_configuration.py b/src/ansible_navigator/configuration_subsystem/navigator_configuration.py
index 70fa62353..531fcaba2 100644
--- a/src/ansible_navigator/configuration_subsystem/navigator_configuration.py
+++ b/src/ansible_navigator/configuration_subsystem/navigator_configuration.py
@@ -227,7 +227,7 @@ class Internals:
             name="config",
             cli_parameters=CliParameters(short="-c", metavar="CONFIG_FILE"),
             environment_variable_override="ansible_config",
-            settings_file_path_override="ansible.config",
+            settings_file_path_override="ansible.config.path",
             short_description="Specify the path to the ansible configuration file",
             subcommands=["config"],
             value=SettingsEntryValue(),
diff --git a/src/ansible_navigator/configuration_subsystem/schema.py b/src/ansible_navigator/configuration_subsystem/schema.py
index 6f67241d4..e81ee7a4a 100644
--- a/src/ansible_navigator/configuration_subsystem/schema.py
+++ b/src/ansible_navigator/configuration_subsystem/schema.py
@@ -15,7 +15,8 @@
                             "type": "string",
                         },
                         "config": {
-                            "type": "string",
+                            "additionalProperties": False,
+                            "properties": {"path": {"type": "string"}},
                         },
                         "inventories": {
                             "items": {"type": "string"},


Test patch:
diff --git a/tests/fixtures/unit/configuration_subsystem/ansible-navigator.yml b/tests/fixtures/unit/configuration_subsystem/ansible-navigator.yml
index 9a5749ad7..3ed0df5f2 100644
--- a/tests/fixtures/unit/configuration_subsystem/ansible-navigator.yml
+++ b/tests/fixtures/unit/configuration_subsystem/ansible-navigator.yml
@@ -2,7 +2,8 @@
 ---
 ansible-navigator:
   ansible:
-    config: /tmp/ansible.cfg
+    config:
+      path: /tmp/ansible.cfg
     cmdline: "--forks 15"
     inventories:
       - /tmp/test_inventory.yml