Skip to content

Commit

Permalink
Merge pull request #142 from dirgim/ci-run-prereqs
Browse files Browse the repository at this point in the history
Set run_prereqs to true when running test in the CI
  • Loading branch information
dirgim authored Jan 22, 2019
2 parents b7d076e + 8651de1 commit 0d56d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ popd

# Run the playbook locally with added hook for debugging variables needed for testing
/usr/bin/ansible-playbook -vv -i "localhost," ${base_dir}/contra-env-setup/playbooks/setup.yml -e user=root \
-e ansible_connection=local -e setup_nested_virt=false -e setup_playbook_hooks=true \
-e ansible_connection=local -e setup_nested_virt=false -e run_prereqs=true -e setup_playbook_hooks=true \
--extra-vars='{"hooks": ["/home/debug_vars.yml"], "os_template_whitelist": ["jenkins-persistent", "jenkins-contra-slave-builder"]}'

# Run tests with pytest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ popd

# Run the playbook locally with added hook for debugging variables needed for testing
/usr/bin/ansible-playbook -vv -i "localhost," ${base_dir}/contra-env-setup/playbooks/setup.yml -e user=root \
-e ansible_connection=local -e setup_nested_virt=false -e setup_playbook_hooks=true \
-e ansible_connection=local -e setup_nested_virt=false -e run_prereqs=true -e setup_playbook_hooks=true \
--extra-vars='{"hooks": ["/home/debug_vars.yml"], "os_template_whitelist": ["jenkins-persistent", "jenkins-contra-slave-builder"]}'

# Run tests with pytest
Expand Down

0 comments on commit 0d56d87

Please sign in to comment.