mirror of https://gerrit.osmocom.org/osmo-ci
ansible: replace deprecated include by import_tasks
include_tasks and import_tasks have similar functionality. Use import_tasks when importing non-variable depending files. Further use import_tasks when not used within a loop. Closes: OS#5797 Change-Id: I29766c65b9e1601a20aa8f20a438e8368c65f6a8changes/12/30912/3
parent
266a4363b3
commit
6a290081c5
|
@ -57,4 +57,4 @@
|
|||
shell: "docker info | grep -q 'Storage Driver: overlay2' || rm -rf /var/lib/docker/vfs"
|
||||
|
||||
# After docker is set up, add docuum to clean old docker images
|
||||
- include: docuum.yml
|
||||
- import_tasks: docuum.yml
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
shell: /usr/bin/zsh
|
||||
groups: docker
|
||||
|
||||
- name: include git repos
|
||||
include: git-repos.yml
|
||||
- name: import git repos
|
||||
import_tasks: git-repos.yml
|
||||
|
||||
- name: install distribution packages
|
||||
apt:
|
||||
|
|
Loading…
Reference in New Issue