From f0313ebc26c0b09b169173a36e961f5f8a72aa25 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 20 Jan 2023 02:12:03 -0500 Subject: [PATCH] add more tests; sample hello world playbook --- .drone.yml | 5 +++++ hello.yml | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 hello.yml 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! + + +...