This commit is contained in:
fosslinux 2019-12-31 18:35:40 -05:00 committed by Gitea
parent ce6de7bbc5
commit 3af4e1cf1b
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