xoxys.pve/.drone.yml

23 lines
672 B
YAML
Raw Normal View History

2019-01-12 12:52:20 +00:00
---
kind: pipeline
name: default
steps:
- name: ansible-latest
2019-01-09 21:49:46 +00:00
image: python:2.7
2019-01-12 12:52:20 +00:00
pull: always
2019-01-09 21:49:46 +00:00
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
2019-01-12 12:52:20 +00:00
depends_on: [ clone ]
2019-01-09 21:49:46 +00:00
2019-01-12 12:52:20 +00:00
- name: ansible-master
2019-01-09 21:49:46 +00:00
image: python:2.7
2019-01-12 12:52:20 +00:00
pull: always
2019-01-09 21:49:46 +00:00
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
2019-01-12 12:52:20 +00:00
depends_on: [ clone ]