
Problem: RHEL and CentOS8 will deprecate the usage of Yum. From DNF release note: DNF is the next upcoming major version of yum, a package manager for RPM-based Linux distributions. It roughly maintains CLI compatibility with YUM and defines a strict API for extensions. Solution: Use "package" Ansible module instead of "yum". "package" module is smarter when it comes to detect with package manager runs on the system. The goal of this patch is to support both yum/dnf (dnf will be the default in rhel/centos 8) from a single ansible module. Change-Id: Idfc54d80e5186e9ac5ae02f390328d99c2390491
13 lines
312 B
YAML
13 lines
312 B
YAML
---
|
|
|
|
- name: Deploy required packages to bootstrap TripleO
|
|
package:
|
|
name: "{{ packages_bootstrap }}"
|
|
become: true
|
|
|
|
- name: Create /var/lib/heat-config/tripleo-config-download directory for deployment data
|
|
file:
|
|
path: /var/lib/heat-config/tripleo-config-download
|
|
state: directory
|
|
become: true
|