drone-test-1/old/drone-yml.centos8
Chris Hammer c27b2ff35d
Some checks failed
continuous-integration/drone/push Build is failing
fix spacing issue in .drone.yml
2023-11-13 00:07:53 -05:00

22 lines
599 B
Plaintext

---
name: Ansible Linting of drone-test-1
kind: pipeline
type: docker
steps:
- name: Prepare CentOS 8 image, clone, and test code
image: centos:8
commands:
- hostname
- lscpu
- dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y
- dnf distro-sync -y
- dnf update -y
- hostname
- dnf install -y ansible-core git
- pip3 install ansible-lint
- mkdir /opt/test
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
- ansible-lint /opt/test/drone-test-1