From 2fd5ba9bb4165f71701161b4e4e55fa3d34abc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sun, 18 Sep 2022 09:45:38 +0200 Subject: [PATCH] Sorted instruction definitions --- inventory_plugins/reconstructed.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inventory_plugins/reconstructed.py b/inventory_plugins/reconstructed.py index c3592b8..5d4f9c2 100644 --- a/inventory_plugins/reconstructed.py +++ b/inventory_plugins/reconstructed.py @@ -97,14 +97,14 @@ INSTR_COMMON_FIELDS = ("when", "loop", "loop_var", "action", "run_once") """Fields that may be present on all instructions.""" INSTR_OWN_FIELDS = { - "create_group": ("group", "parent", "add_host"), - "add_host": ("group",), "add_child": ("group", "child"), - "set_var": ("name", "value"), - "set_fact": ("name", "value"), - "stop": (), - "fail": ("msg",), + "add_host": ("group",), "block": ("block", "rescue", "always", "locals"), + "create_group": ("group", "parent", "add_host"), + "fail": ("msg",), + "set_fact": ("name", "value"), + "set_var": ("name", "value"), + "stop": (), } """Fields that are specific to each instruction."""