mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-11-05 03:55:38 +00:00
Drone CI
This commit is contained in:
1 parent
ce6de7bbc5
commit
3af4e1cf1b
2 files changed
+19
No files matched your search
+15
@@ -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
|
||||
Executable
+4
@@ -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
|
||||
Reference in new issue
Block a user