From b93cd422119ea29aa87459dc1cc222fef8ef7e40 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 2 Aug 2017 11:23:19 -0500 Subject: [PATCH] Add dnf support This patch adds dnf support on CentOS. Implements: blueprint centos-and-dnf Depends-On: Ie583562b3c671389297ed5b0d5627f1b72ca286e Change-Id: I184515b10a84a45cf72f6bd0988e3f6babd9072f --- tasks/lxc_install_dnf.yml | 1 + tasks/lxc_install_yum.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 tasks/lxc_install_dnf.yml diff --git a/tasks/lxc_install_dnf.yml b/tasks/lxc_install_dnf.yml new file mode 120000 index 00000000..850505a0 --- /dev/null +++ b/tasks/lxc_install_dnf.yml @@ -0,0 +1 @@ +lxc_install_yum.yml \ No newline at end of file diff --git a/tasks/lxc_install_yum.yml b/tasks/lxc_install_yum.yml index bc985833..13f6e200 100644 --- a/tasks/lxc_install_yum.yml +++ b/tasks/lxc_install_yum.yml @@ -50,8 +50,8 @@ retries: 5 delay: 2 -- name: Install yum packages - yum: +- name: Install distro packages + package: pkg: "{{ lxc_hosts_distro_packages }}" state: "{{ lxc_hosts_package_state }}" register: install_packages