Replace ansible in venv with system managed version

This makes keeping updated on versions much easier!
This commit is contained in:
Jake Howard 2020-06-24 17:11:20 +01:00
parent 5dcef054cb
commit a572868b8f
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,8 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: 3.7 python-version: 3.7
- name: Install ansible
run: sudo apt-get update && sudo apt-get install -y ansible
- name: Install dependencies - name: Install dependencies
run: ./scripts/setup.sh run: ./scripts/setup.sh
- name: Run linters - name: Run linters

View file

@ -1,3 +1,2 @@
-r requirements.txt
yamllint==1.23.0 yamllint==1.23.0
ansible-lint==4.2.0 ansible-lint==4.2.0

View file

@ -1 +0,0 @@
ansible==2.9.7

View file

@ -6,4 +6,4 @@ python -m venv env
env/bin/pip install -r dev-requirements.txt env/bin/pip install -r dev-requirements.txt
env/bin/ansible-galaxy install -r galaxy-requirements.yml ansible-galaxy install -r galaxy-requirements.yml

View file

@ -14,6 +14,7 @@
become: true become: true
become_user: aur_builder become_user: aur_builder
loop: loop:
- ansible
- arduino - arduino
- arduino-cli - arduino-cli
- arduino-builder - arduino-builder