Fix tasks to avoid ansible warning about raw module environment (#3545)

This commit is contained in:
Erwan Miran
2018-10-20 16:13:54 +02:00
committed by k8s-ci-robot
parent 127969d65f
commit 3b787123e3
7 changed files with 10 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
failed_when: false
changed_when: false
with_items: "{{ubuntu_packages}}"
environment: {}
tags:
- facts
@@ -23,6 +23,7 @@
raw:
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y {{ubuntu_packages | join(" ")}}
environment: {}
when:
- need_bootstrap.results | map(attribute='rc') | sort | last | bool