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.
2 changed files with
19 additions and
0 deletions
|
|
|
@ -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
|
|
|
|
@ -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
|