Compare commits
No commits in common. "6af30fcda8831484336a411eb059ed6300d45adf" and "faf84678f79556d47132d0e09d599dabb3bd2b17" have entirely different histories.
6af30fcda8
...
faf84678f7
@ -1,22 +0,0 @@
|
|||||||
# .ansible-lint
|
|
||||||
# vim:ft=ansible
|
|
||||||
|
|
||||||
exclude_paths:
|
|
||||||
# We're not interested in linting Galaxy roles here
|
|
||||||
- roles/docker
|
|
||||||
- roles/k8s
|
|
||||||
- roles/nextcloud
|
|
||||||
- roles/postgresql
|
|
||||||
- roles/sshd
|
|
||||||
|
|
||||||
mock_roles:
|
|
||||||
# Used for local testing
|
|
||||||
- docker
|
|
||||||
- k8s
|
|
||||||
- nextcloud
|
|
||||||
- postgresql
|
|
||||||
- sshd
|
|
||||||
|
|
||||||
warn_list:
|
|
||||||
# I'm aware of the risks and accept them
|
|
||||||
- package-latest
|
|
@ -1,12 +1,11 @@
|
|||||||
image: ubuntu:focal
|
image: ubuntu:focal
|
||||||
stages:
|
stages:
|
||||||
- lint
|
|
||||||
- test
|
- test
|
||||||
- play
|
- play
|
||||||
before_script:
|
before_script:
|
||||||
# Get the packages we need
|
# Get the packages we need
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install openssh-client python3-docker python3-pip python-is-python3 -y
|
- apt-get install openssh-client python3-docker python3-pip -y
|
||||||
- pip install ansible ansible-lint
|
- pip install ansible ansible-lint
|
||||||
# Dump our key
|
# Dump our key
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
@ -24,7 +23,7 @@ before_script:
|
|||||||
|
|
||||||
Lint:
|
Lint:
|
||||||
allow_failure: yes
|
allow_failure: yes
|
||||||
stage: lint
|
stage: test
|
||||||
script:
|
script:
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
- ansible-lint site.yml
|
- ansible-lint site.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user