Change in osmo-ci[master]: ansible: fix deprecation of "include:"

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Thu Jun 7 15:17:14 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9499


Change subject: ansible: fix deprecation of "include:"
......................................................................

ansible: fix deprecation of "include:"

"include:" has been deprecated in favour of "include_tasks:".

Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
---
M ansible/roles/osmocom-jenkins-slave/tasks/main.yml
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/99/9499/1

diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
index 215c988..f76489c 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
@@ -1,7 +1,7 @@
 ---
 
 - name: install jenkins packages
-  include: debian.yml
+  include_tasks: debian.yml
   when: ansible_distribution == 'Debian'
 
 - name: install build utilities
@@ -100,11 +100,11 @@
     key: "{{ lookup('file', 'jenkins.osmocom.org.pub') }}"
 
 - name: include generic slave
-  include: generic-slave.yml
+  include_tasks: generic-slave.yml
   when: generic_slave
 
 - name: install ttcn3 dependencies
-  include: ttcn3-slave.yml
+  include_tasks: ttcn3-slave.yml
   when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
 
 - name: copy .gitconfig

-- 
To view, visit https://gerrit.osmocom.org/9499
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
Gerrit-Change-Number: 9499
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180607/e5236b1f/attachment.htm>


More information about the gerrit-log mailing list