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: I29766c65b9e1601a20aa8f20a438e8368c65f6a8
This commit is contained in:
parent
be18bcd4ed
commit
5b67b0d353
|
@ -57,4 +57,4 @@
|
||||||
shell: "docker info | grep -q 'Storage Driver: overlay2' || rm -rf /var/lib/docker/vfs"
|
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
|
# 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
|
shell: /usr/bin/zsh
|
||||||
groups: docker
|
groups: docker
|
||||||
|
|
||||||
- name: include git repos
|
- name: import git repos
|
||||||
include: git-repos.yml
|
import_tasks: git-repos.yml
|
||||||
|
|
||||||
- name: install distribution packages
|
- name: install distribution packages
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in New Issue