diff --git a/group-vars-order/.vscode/settings.json b/group-vars-order/.vscode/settings.json new file mode 100644 index 0000000..d96c38d --- /dev/null +++ b/group-vars-order/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + "workbench.colorCustomizations": { + "activityBar.background": "#008327", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#3900bf", + "activityBarBadge.foreground": "#e7e7e7", + "titleBar.activeBackground": "#005018", + "titleBar.inactiveBackground": "#00501899", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveForeground": "#e7e7e799", + "statusBar.background": "#005018", + "statusBarItem.hoverBackground": "#008327", + "statusBar.foreground": "#e7e7e7" + } +} \ No newline at end of file diff --git a/group-vars-order/group-vars-order.yaml b/group-vars-order/group-vars-order.yaml new file mode 100644 index 0000000..b3fe258 --- /dev/null +++ b/group-vars-order/group-vars-order.yaml @@ -0,0 +1,8 @@ +- name: group_vars files are sorted and evaluated in order + hosts: localhost + gather_facts: no + tasks: + - assert: + that: + - test == 3 + \ No newline at end of file diff --git a/group-vars-order/group_vars/all/01.yaml b/group-vars-order/group_vars/all/01.yaml new file mode 100644 index 0000000..4857bf6 --- /dev/null +++ b/group-vars-order/group_vars/all/01.yaml @@ -0,0 +1 @@ +test: 1 diff --git a/group-vars-order/group_vars/all/02.yaml b/group-vars-order/group_vars/all/02.yaml new file mode 100644 index 0000000..1bc9281 --- /dev/null +++ b/group-vars-order/group_vars/all/02.yaml @@ -0,0 +1 @@ +test: 2 diff --git a/group-vars-order/group_vars/all/03.yaml b/group-vars-order/group_vars/all/03.yaml new file mode 100644 index 0000000..4991f4f --- /dev/null +++ b/group-vars-order/group_vars/all/03.yaml @@ -0,0 +1 @@ +test: 3