From af73c0ce597c1bd6d3fa2506aa936d7c712b64b5 Mon Sep 17 00:00:00 2001 From: Sandy Wang Date: Mon, 23 Feb 2026 22:12:51 +1000 Subject: [PATCH 1/3] The plugin has been superseded by the option in callback plugin ansible.builtin.default from ansible-core 2.13 onwards. --- infra/ansible.cfg | 2 ++ infra/test_ansible.py | 5 +++++ 2 files changed, 7 insertions(+) create mode 100755 infra/test_ansible.py diff --git a/infra/ansible.cfg b/infra/ansible.cfg index 2a8ed9b..e73e4c8 100755 --- a/infra/ansible.cfg +++ b/infra/ansible.cfg @@ -6,3 +6,5 @@ inventory = inventory/hosts validate_certs = no interpreter_python = /usr/bin/python3 callback_whitelist = counter_enabled,timer +stdout_callback = default +callback_result_format = yaml diff --git a/infra/test_ansible.py b/infra/test_ansible.py new file mode 100755 index 0000000..fbc73f8 --- /dev/null +++ b/infra/test_ansible.py @@ -0,0 +1,5 @@ +import subprocess +try: + print("Testing ansible-config") +except Exception as e: + pass From 44d4a4e4b54a1a230d7bfb5208ac9898c946b107 Mon Sep 17 00:00:00 2001 From: Sandy Wang Date: Thu, 12 Mar 2026 05:53:47 +1000 Subject: [PATCH 2/3] Update subscription to Startup subscription --- .github/workflows/dev-pipeline.yaml | 0 .gitignore | 0 README.md | 0 ado-pipelines/dev-pipeline.yaml | 0 infra/README.md | 0 infra/ansible.cfg | 0 infra/group_vars/all.yml | 2 +- infra/group_vars/dev.yml | 0 infra/group_vars/prod.yml | 0 infra/group_vars/stage.yml | 0 infra/inventory/hosts | 0 infra/playbook.yml | 0 infra/test_ansible.py | 0 infra/tf_templates/az_network/az_network.tf.j2 | 0 infra/tf_templates/az_rg/az_rg.tf.j2 | 0 infra/tf_templates/backend.tf.j2 | 0 infra/tf_templates/data_source.tf.j2 | 0 infra/tf_templates/infra/placeholder-NoFileInside | 0 infra/tf_templates/terraform.tf.j2 | 0 19 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 .github/workflows/dev-pipeline.yaml mode change 100755 => 100644 .gitignore mode change 100755 => 100644 README.md mode change 100755 => 100644 ado-pipelines/dev-pipeline.yaml mode change 100755 => 100644 infra/README.md mode change 100755 => 100644 infra/ansible.cfg mode change 100755 => 100644 infra/group_vars/all.yml mode change 100755 => 100644 infra/group_vars/dev.yml mode change 100755 => 100644 infra/group_vars/prod.yml mode change 100755 => 100644 infra/group_vars/stage.yml mode change 100755 => 100644 infra/inventory/hosts mode change 100755 => 100644 infra/playbook.yml mode change 100755 => 100644 infra/test_ansible.py mode change 100755 => 100644 infra/tf_templates/az_network/az_network.tf.j2 mode change 100755 => 100644 infra/tf_templates/az_rg/az_rg.tf.j2 mode change 100755 => 100644 infra/tf_templates/backend.tf.j2 mode change 100755 => 100644 infra/tf_templates/data_source.tf.j2 mode change 100755 => 100644 infra/tf_templates/infra/placeholder-NoFileInside mode change 100755 => 100644 infra/tf_templates/terraform.tf.j2 diff --git a/.github/workflows/dev-pipeline.yaml b/.github/workflows/dev-pipeline.yaml old mode 100755 new mode 100644 diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/ado-pipelines/dev-pipeline.yaml b/ado-pipelines/dev-pipeline.yaml old mode 100755 new mode 100644 diff --git a/infra/README.md b/infra/README.md old mode 100755 new mode 100644 diff --git a/infra/ansible.cfg b/infra/ansible.cfg old mode 100755 new mode 100644 diff --git a/infra/group_vars/all.yml b/infra/group_vars/all.yml old mode 100755 new mode 100644 index 0925c11..ff731a2 --- a/infra/group_vars/all.yml +++ b/infra/group_vars/all.yml @@ -26,7 +26,7 @@ subscription: dev: # Dev environment code: dev name: "Sample DEV" - id: "d980aa37-90db-4557-af0b-6accfb71b19a" + id: "1b343b48-fdb4-4f47-8cb2-3df7b23278a9" #----------------------# # Azure Primary Config # diff --git a/infra/group_vars/dev.yml b/infra/group_vars/dev.yml old mode 100755 new mode 100644 diff --git a/infra/group_vars/prod.yml b/infra/group_vars/prod.yml old mode 100755 new mode 100644 diff --git a/infra/group_vars/stage.yml b/infra/group_vars/stage.yml old mode 100755 new mode 100644 diff --git a/infra/inventory/hosts b/infra/inventory/hosts old mode 100755 new mode 100644 diff --git a/infra/playbook.yml b/infra/playbook.yml old mode 100755 new mode 100644 diff --git a/infra/test_ansible.py b/infra/test_ansible.py old mode 100755 new mode 100644 diff --git a/infra/tf_templates/az_network/az_network.tf.j2 b/infra/tf_templates/az_network/az_network.tf.j2 old mode 100755 new mode 100644 diff --git a/infra/tf_templates/az_rg/az_rg.tf.j2 b/infra/tf_templates/az_rg/az_rg.tf.j2 old mode 100755 new mode 100644 diff --git a/infra/tf_templates/backend.tf.j2 b/infra/tf_templates/backend.tf.j2 old mode 100755 new mode 100644 diff --git a/infra/tf_templates/data_source.tf.j2 b/infra/tf_templates/data_source.tf.j2 old mode 100755 new mode 100644 diff --git a/infra/tf_templates/infra/placeholder-NoFileInside b/infra/tf_templates/infra/placeholder-NoFileInside old mode 100755 new mode 100644 diff --git a/infra/tf_templates/terraform.tf.j2 b/infra/tf_templates/terraform.tf.j2 old mode 100755 new mode 100644 From 78cd93727825d5a7c113650ce93833d5af8a36ea Mon Sep 17 00:00:00 2001 From: Sandy Wang Date: Thu, 12 Mar 2026 05:58:23 +1000 Subject: [PATCH 3/3] update the storage account name --- infra/group_vars/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/group_vars/all.yml b/infra/group_vars/all.yml index ff731a2..bda634e 100644 --- a/infra/group_vars/all.yml +++ b/infra/group_vars/all.yml @@ -54,7 +54,7 @@ devops_vmss_subnet_id: "/subscriptions/{{ subscription.dev.id }}/resourceGroups/ ### Terraform backend configuration backend: - account_name: "{{prefix}}blobtfstateausea" + account_name: "{{prefix}}blobtfstateaue" container: tfstate key: "{{ prefix }}-{{ stack_name }}-{{ subscription_code }}-{{ azure_location }}.tfstate"