From db6384f83c1ce5cbbfa57503df7d79bbe45d3fb8 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Fri, 24 Aug 2018 15:21:03 +0200 Subject: [PATCH] Print network provider early The list of packages to install depends on the network provider, so print it out early. --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8d162b3..4301acf 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,10 @@ - name: Check which packages are installed package_facts: +- name: Print network provider + debug: + msg: "Using network provider: {{ network_provider }}" + # Depending on the plugins, checking installed packages might be slow # for example subscription manager might slow this down # Therefore install packages only when rpm does not find them @@ -23,10 +27,6 @@ state: started enabled: yes -- name: Print network provider - debug: - msg: "Using network provider: {{ network_provider }}" - - name: Configure networking connection profiles network_connections: provider: "{{ network_provider | mandatory }}"