remove duplicate hostname; fixed order so packages install prior to calling anything
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
5683228b26
commit
2a3f2b6b19
@ -7,11 +7,10 @@ steps:
|
|||||||
- name: Prepare CentOS 9 Stream image, clone, and test code
|
- name: Prepare CentOS 9 Stream image, clone, and test code
|
||||||
image: quay.io/centos/centos:stream9
|
image: quay.io/centos/centos:stream9
|
||||||
commands:
|
commands:
|
||||||
|
- dnf update -y
|
||||||
|
- dnf install -y python3-pip git hostname
|
||||||
- hostname
|
- hostname
|
||||||
- lscpu
|
- lscpu
|
||||||
- dnf update -y
|
|
||||||
- hostname
|
|
||||||
- dnf install -y python3-pip git hostname
|
|
||||||
- pip3 install ansible-core==2.14.11 ansible-lint==6.13.1
|
- pip3 install ansible-core==2.14.11 ansible-lint==6.13.1
|
||||||
- mkdir /opt/test
|
- mkdir /opt/test
|
||||||
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
|
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user