Compare commits

...
This repository has been archived on 2024-01-01. You can view files and clone it, but cannot push or open issues or pull requests.

1 Commits

Author SHA1 Message Date
fosslinux 88aaa521c8 add drone ci
continuous-integration/drone/push Build is failing Details
2020-01-01 10:33:41 +11:00
2 changed files with 19 additions and 0 deletions

15
.drone.yml Normal file
View File

@ -0,0 +1,15 @@
kind: pipeline
name: default
steps:
- name: syntax
image: debian:10
commands:
- .drone/deps
- ansible-playbook -i hosts site.yml --syntax
- name: run
image: debian:10
commands:
- .drone/deps
- sed -i "s/thunix.net/127.0.0.1/g" hosts
- ansible-playbook -i hosts site.yml

4
.drone/deps Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
apt-get update -qq > /dev/null
apt-get dist-upgrade -qq > /dev/null
apt-get install ansible -qq > /dev/null