summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2019-01-11 13:24:01 -0500
committerPaul Belanger <pabelanger@redhat.com>2019-01-11 13:24:01 -0500
commit243a8938f633c54fe796c32cce5d2ec70b32e169 (patch)
tree5af1e3acef0f479d0cda5a9e12fe3865b67fb005
parent2aeaac3f615d0ac9f0faed71a21ee8c187f549b0 (diff)
Simplify dco-license job playbook
We can simplify the usage of include_roles by using roles section in the playbook. Change-Id: Iedd3f6e57f9c16c7ea8ae709f1e28d629580cab9 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Notes
Notes (review): Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Workflow+1: Andreas Jaeger <jaegerandi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 11 Jan 2019 20:05:46 +0000 Reviewed-on: https://review.openstack.org/630369 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--playbooks/dco-license/run.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/playbooks/dco-license/run.yaml b/playbooks/dco-license/run.yaml
index 7b47e54..4f617ad 100644
--- a/playbooks/dco-license/run.yaml
+++ b/playbooks/dco-license/run.yaml
@@ -1,7 +1,4 @@
1- hosts: localhost 1- hosts: localhost
2 tasks: 2 roles:
3 - name: Run validate-dco-license role 3 - role: validate-dco-license
4 include_role: 4 zuul_work_dir: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}"
5 name: validate-dco-license
6 vars:
7 zuul_work_dir: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}"