Bump ansible version in ansible-playbook --check CI step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
21329ecabd
commit
7e446f25eb
@ -6,6 +6,7 @@ steps:
|
|||||||
- name: ansible-lint
|
- name: ansible-lint
|
||||||
image: python:3.10.6
|
image: python:3.10.6
|
||||||
commands:
|
commands:
|
||||||
|
# Make sure to update the ansible version below as well
|
||||||
- pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
|
- pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
|
||||||
- ansible-lint -c .ansible-lint ansible
|
- ansible-lint -c .ansible-lint ansible
|
||||||
|
|
||||||
@ -22,7 +23,7 @@ steps:
|
|||||||
VAULT_PASSWORD:
|
VAULT_PASSWORD:
|
||||||
from_secret: vault_password
|
from_secret: vault_password
|
||||||
commands:
|
commands:
|
||||||
- pip install ansible==6.4.0 > /dev/null 2> /dev/null
|
- pip install ansible==7.2.0 > /dev/null 2> /dev/null
|
||||||
|
|
||||||
- mkdir "$HOME/.ssh"
|
- mkdir "$HOME/.ssh"
|
||||||
- echo "$SSH_KEY" > "$HOME/.ssh/id"
|
- echo "$SSH_KEY" > "$HOME/.ssh/id"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user