Print network provider early

The list of packages to install depends on the network provider, so
print it out early.
This commit is contained in:
Till Maas 2018-08-24 15:21:03 +02:00
parent d866422d9d
commit db6384f83c

View file

@ -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 }}"