Replace ansible in venv with system managed version
This makes keeping updated on versions much easier!
This commit is contained in:
parent
5dcef054cb
commit
a572868b8f
5 changed files with 4 additions and 3 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -11,6 +11,8 @@ jobs:
|
|||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install ansible
|
||||
run: sudo apt-get update && sudo apt-get install -y ansible
|
||||
- name: Install dependencies
|
||||
run: ./scripts/setup.sh
|
||||
- name: Run linters
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
-r requirements.txt
|
||||
yamllint==1.23.0
|
||||
ansible-lint==4.2.0
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
ansible==2.9.7
|
|
@ -6,4 +6,4 @@ python -m venv env
|
|||
|
||||
env/bin/pip install -r dev-requirements.txt
|
||||
|
||||
env/bin/ansible-galaxy install -r galaxy-requirements.yml
|
||||
ansible-galaxy install -r galaxy-requirements.yml
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
become: true
|
||||
become_user: aur_builder
|
||||
loop:
|
||||
- ansible
|
||||
- arduino
|
||||
- arduino-cli
|
||||
- arduino-builder
|
||||
|
|
Loading…
Reference in a new issue