Fix conntrack for opensuse and docker support (#5880)

This commit is contained in:
Maxime Guyot
2020-04-08 16:37:44 +02:00
committed by GitHub
parent f055ba7965
commit 7eaa7c957a
12 changed files with 22 additions and 12 deletions

View File

@@ -28,6 +28,14 @@
when:
- http_proxy is defined or https_proxy is defined
# Required for zypper module
- name: Install python-xml
shell: zypper refresh && zypper --non-interactive install python-xml
changed_when: false
become: true
tags:
- facts
# Without this package, the get_url module fails when trying to handle https
- name: Install python-cryptography
zypper:

View File

@@ -56,6 +56,7 @@
- name: Assign inventory name to unconfigured hostnames (CoreOS, non-Flatcar, Suse and ClearLinux only)
command: "hostnamectl set-hostname {{ inventory_hostname }}"
register: hostname_changed
become: true
changed_when: false
when:
- override_system_hostname