Skip to content

Commit

Permalink
Split partial/full dpeloyment ansible runs
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdc authored Mar 28, 2024
1 parent 4581309 commit de458a8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/kvm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,26 @@
# uses: mxschmitt/action-tmate@v3
# with:
# detached: true
- name: Move hpc variables from group_vars to temp location
run: |
mv deploy/group_vars/hpc_*.yaml /tmp

Check failure on line 109 in .github/workflows/kvm-test.yaml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
- name: Run ansible playbook (partial)
run: |
cd deploy
ansible-playbook ../playbook.yaml -i inventory.ini --connection=local -v
env:
ANSIBLE_FORCE_COLOR: True
ANSIBLE_CALLBACKS_ENABLED: "profile_tasks"

Check failure on line 117 in .github/workflows/kvm-test.yaml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
- name: Move hpc variables back to group_vars
run: |
mv /tmp/hpc_*.yaml deploy/group_vars/
- name: Run ansible playbook
- name: Run ansible playbook (Full)
run: |
cd deploy
ansible-playbook ../playbook.yaml -i inventory.ini --connection=local -v
env:
ANSIBLE_FORCE_COLOR: True
ANSIBLE_CALLBACKS_ENABLED: "profile_tasks"

0 comments on commit de458a8

Please sign in to comment.