Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

Commit adffe82

Browse files
authored
ci: adjust installing Ansible 2.10
1 parent 042720a commit adffe82

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,14 @@ jobs:
4040
INVENTORY_PATH: __tests__/inventory.yml
4141
steps:
4242
- uses: actions/checkout@v2
43+
- name: Set up Python 3
44+
uses: actions/setup-python@v2
45+
with:
46+
python-version: '3.x'
47+
- name: Uninstall old Ansible
48+
run: ansible --version && sudo apt purge ansible -y
4349
- name: Install Ansible v2.10 alpha (GH actions currently uses 2.9)
44-
run: ANSIBLE_SKIP_CONFLICT_CHECK=1 pip install --user ansible==2.10.0a9 && ansible --version
50+
run: sudo python -m pip install ansible==2.10.0a9 && ansible --version
4551
- run: pip install -r ./requirements/pip.txt
4652
- name: Print Ansible version
4753
run: ansible --version

0 commit comments

Comments
 (0)