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
Tue Jun 12 16:16:31 UTC 2018


lynxis lazus has submitted this change and it was merged. ( 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(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  lynxis lazus: Verified



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: merged
Gerrit-Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
Gerrit-Change-Number: 9499
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/0b1bc2bc/attachment.htm>


More information about the gerrit-log mailing list