From 35738df00c6a4aa550d61b767b49d7bcd064733e Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Thu, 14 Nov 2019 16:06:41 +0100 Subject: [PATCH] rhel fix --- tasks/main.yml | 4 +++- vars/main.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b218b71..ec17e11 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -60,7 +60,9 @@ - rpcbind - nfs-common state: absent - when: ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy' + when: + - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy' + - ansible_os_family != 'Redhat' - name: Upgrade all packages to latest become: true diff --git a/vars/main.yml b/vars/main.yml index b068c0c..6e66376 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -51,5 +51,5 @@ fedora_packages: - python3-pip - python3 -playbook_version_number: 8972 # should be over ninethousand +playbook_version_number: 8973 # should be over ninethousand playbook_version_path: '/etc/ansible-version/base-packages_ffbsee_or_chaos-bodensee_github.version'