fix use of ansible tags (#6316)

tags are not inherited for include_role therefore the change
from include to import

Co-authored-by: Hans Feldt <hafe@users.noreply.github.com>
This commit is contained in:
Hans Feldt
2020-06-25 12:00:37 +02:00
committed by GitHub
parent c29b21717d
commit 93951f2ed5
5 changed files with 9 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- hosts: all
gather_facts: false
tags: always
tasks:
- name: "Set up proxy environment"
set_fact:
@ -35,6 +36,7 @@
- { role: bootstrap-os, tags: bootstrap-os}
- name: Gather facts
tags: always
import_playbook: facts.yml
- name: Download images to ansible host cache via first kube-master node