add custom policy
All checks were successful
the build was successful

This commit is contained in:
Robert Kaussow 2019-01-09 20:16:12 +01:00
parent e4b9b7844c
commit 44bab95eaf
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,8 @@ pipeline:
pull: True pull: True
commands: commands:
- pip install ansible ansible-later -q - pip install ansible ansible-later -q
- git ls-files *[^LICENSE,.md] | xargs ansible-later - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
group: test group: test
ansible-master: ansible-master:
@ -12,5 +13,6 @@ pipeline:
pull: True pull: True
commands: commands:
- pip install ansible ansible-later -q - pip install ansible ansible-later -q
- git ls-files *[^LICENSE,.md] | xargs ansible-later - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
group: test group: test

View File

@ -7,7 +7,7 @@
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
with_items: with_items:
- { src: "{{ droneci_tls_key_source }}", dest: '/etc/pki/tls/private/{{ droneci_tls_key_path | basename }}', mode: '0600' } - { src: "{{ droneci_tls_key_source }}", dest: '/etc/pki/tls/private/{{ droneci_tls_key_path | basename }}', mode: '0600' }
- { src: "{{ droneci_tls_cert_source }}", dest: '/etc/pki/tls/certs/{{ droneci_tls_cert_path | basename }}', mode: '0750' } - { src: "{{ droneci_tls_cert_source }}", dest: '/etc/pki/tls/certs/{{ droneci_tls_cert_path | basename }}', mode: '0750' }
loop_control: loop_control:
label: "{{ item.dest }}" label: "{{ item.dest }}"
when: droneci_tls_source_use_content when: droneci_tls_source_use_content