Skip to content

Commit

Permalink
fixes debug v2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbazhenoff committed Apr 6, 2024
1 parent 38d7a4a commit 68b672b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ansible_molecule_teststing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ concurrency:
env:
PREINSTALL_MOLECULE_REQUIREMENTS: 'false'
PREINSTALL_MOLECULE_REQUIREMENTS_YAML_PATH: roles/requirements.yml
PREINSTALL_MOLECULE_REQUIREMENTS_SERVER: https://old-galaxy.ansible.com
ANSIBLE_GALAXY_SERVER_TIMEOUT: 300
ANSIBLE_GALAXY_SERVER_LIST: https://old-galaxy.ansible.com, https://galaxy.ansible.com

jobs:
test_bareos:
Expand Down Expand Up @@ -73,8 +74,7 @@ jobs:
echo "VERB_OPT: $VERB_OPT"
set -x
if $PREINSTALL_MOLECULE_REQUIREMENTS && [[ -f "$PREINSTALL_MOLECULE_REQUIREMENTS_YAML_PATH" ]]; then
poetry --ansi run ansible-galaxy install -r "$PREINSTALL_MOLECULE_REQUIREMENTS_YAML_PATH" \
--server "$PREINSTALL_MOLECULE_REQUIREMENTS_SERVER" --timeout 300 $VERB_OPT
poetry --ansi run ansible-galaxy install -r "$PREINSTALL_MOLECULE_REQUIREMENTS_YAML_PATH" $VERB_OPT
fi
cd roles/bareos
poetry --ansi run molecule $DEBUG_OPT $VERB_OPT test
Expand Down
4 changes: 1 addition & 3 deletions roles/bareos/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ dependency:
ignore-errors: true
# To switch on old Ansible Galaxy API (ansible < 2.13.5):
# https://forum.ansible.com/t/os-builds-failing-skipping-galaxy-server-https-galaxy-ansible-com-api/1408/9
env:
ANSIBLE_GALAXY_SERVER_TIMEOUT: 300
ANSIBLE_GALAXY_SERVER_LIST: https://old-galaxy.ansible.com, https://galaxy.ansible.com
# https://docs.ansible.com/ansible/latest/reference_appendices/config.html
driver:
name: docker
platforms:
Expand Down

0 comments on commit 68b672b

Please sign in to comment.