diff --git a/.drone.yml b/.drone.yml index e845dd5..3a0ef09 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,4 +17,9 @@ steps: - 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 diff --git a/hello.yml b/hello.yml new file mode 100644 index 0000000..80d8821 --- /dev/null +++ b/hello.yml @@ -0,0 +1,15 @@ +--- +- name: Hello world + hosts: localhost + connection: local + become: no + gather_facts: no + + + tasks: + - name: Say Hello world + debug: + msg: Hello world! + + +...