From b9f65bf908b6d5c5574e4522b3670780bcfb5bb8 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 1 Jul 2024 02:05:28 +0930 Subject: [PATCH] fix(ansible): add localhost to PB hosts var !84 nofusscomputing/projects/ansible/execution_environment!258 nofusscomputing/projects/ansible/ansible_playbooks!104 --- automation/.gitlab-ci-ansible.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/.gitlab-ci-ansible.yaml b/automation/.gitlab-ci-ansible.yaml index 0a0100c..11e2770 100644 --- a/automation/.gitlab-ci-ansible.yaml +++ b/automation/.gitlab-ci-ansible.yaml @@ -6,7 +6,7 @@ include: .ansible_playbook: - image: + image: name: nofusscomputing/ansible-ee:dev pull_policy: always stage: chores @@ -21,7 +21,7 @@ include: - echo "[DEBUG] ansible_inventory=$ansible_inventory" - echo "[DEBUG] ansible_playbook=$ansible_playbook" - echo "[DEBUG] ansible_tags=$ansible_tags" - - ansible-playbook $ansible_inventory $ANSIBLE_PLAYBOOK_DIR/$ansible_playbook $ansible_tags -vvv + - ansible-playbook $ansible_inventory $ANSIBLE_PLAYBOOK_DIR/$ansible_playbook $ansible_tags --extra-vars "nfc_pb_host=localhost" -vvv rules: # ToDo: at some stage redefine these rules so that the job can run if specified. # - if: '$NFC_AUTO_JOBS == "false"'