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