[PATCH] Use a more concise form for include of playbook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 roles/osbs-atomic-reactor/tasks/main.yml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/roles/osbs-atomic-reactor/tasks/main.yml b/roles/osbs-atomic-reactor/tasks/main.yml
index fc28ff9..3b5cd32 100644
--- a/roles/osbs-atomic-reactor/tasks/main.yml
+++ b/roles/osbs-atomic-reactor/tasks/main.yml
@@ -1,9 +1,2 @@
 ---
-- include: source_pull.yml
-  when: atomic_reactor_source == 'pull'
-
-- include: source_git.yml
-  when: atomic_reactor_source == 'git'
-
-- include: source_rpm.yml
-  when: atomic_reactor_source == 'rpm'
+- include: source_{{ atomic_reactor_source }}.yml
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux