2019-01-12 12:47:14 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: ansible-latest
|
2019-01-09 19:46:38 +00:00
|
|
|
image: python:2.7
|
2019-01-12 12:47:14 +00:00
|
|
|
pull: always
|
2019-01-09 19:46:38 +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:47:14 +00:00
|
|
|
depends_on: [ clone ]
|
2019-01-09 19:46:38 +00:00
|
|
|
|
2019-01-12 12:47:14 +00:00
|
|
|
- name: ansible-master
|
2019-01-09 19:46:38 +00:00
|
|
|
image: python:2.7
|
2019-01-12 12:47:14 +00:00
|
|
|
pull: always
|
2019-01-09 19:46:38 +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:47:14 +00:00
|
|
|
depends_on: [ clone ]
|