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>
This commit is contained in:
parent
2aeaac3f61
commit
243a8938f6
@ -1,7 +1,4 @@
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Run validate-dco-license role
|
||||
include_role:
|
||||
name: validate-dco-license
|
||||
vars:
|
||||
zuul_work_dir: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}"
|
||||
roles:
|
||||
- role: validate-dco-license
|
||||
zuul_work_dir: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}"
|
||||
|
Loading…
Reference in New Issue
Block a user