feat(ansible_playbook): prior to running playbook display env vars

ref: nofusscomputing/projects/gitlab-ci#49
This commit is contained in:
2025-02-26 22:18:04 +09:30
parent 034a153ba0
commit 224ef83157

View File

@ -21,6 +21,9 @@ include:
- echo "[DEBUG] ansible_inventory=$ansible_inventory" - echo "[DEBUG] ansible_inventory=$ansible_inventory"
- echo "[DEBUG] ansible_playbook=$ansible_playbook" - echo "[DEBUG] ansible_playbook=$ansible_playbook"
- echo "[DEBUG] ansible_tags=$ansible_tags" - echo "[DEBUG] ansible_tags=$ansible_tags"
- echo "[TRACE] ********************************** start ******************************************"
- export
- echo "[TRACE] *********************************** end *******************************************"
- ansible-playbook $ansible_inventory $ANSIBLE_PLAYBOOK_DIR/$ansible_playbook $ansible_tags --extra-vars "nfc_pb_host=localhost" -vvv - ansible-playbook $ansible_inventory $ANSIBLE_PLAYBOOK_DIR/$ansible_playbook $ansible_tags --extra-vars "nfc_pb_host=localhost" -vvv
rules: rules:
# ToDo: at some stage redefine these rules so that the job can run if specified. # ToDo: at some stage redefine these rules so that the job can run if specified.