Add dnf support
This patch adds dnf support for CentOS. Implements: blueprint centos-and-dnf Change-Id: I769576a944c07a295c3a81a2192f7d5f7b6ecfa4
This commit is contained in:
parent
fcf578b819
commit
f739bf3953
1
tasks/install_dnf.yml
Symbolic link
1
tasks/install_dnf.yml
Symbolic link
@ -0,0 +1 @@
|
||||
install_yum.yml
|
@ -86,7 +86,7 @@
|
||||
- rabbitmq-repos
|
||||
|
||||
- name: Install yum versionlock plugin
|
||||
yum:
|
||||
package:
|
||||
name: "yum-plugin-versionlock"
|
||||
state: "{{ rabbitmq_package_state }}"
|
||||
tags:
|
||||
@ -100,7 +100,7 @@
|
||||
- rabbitmq-yum-packages
|
||||
|
||||
- name: Install RabbitMQ package dependencies
|
||||
yum:
|
||||
package:
|
||||
pkg: "{{ item }}"
|
||||
state: "{{ rabbitmq_package_state }}"
|
||||
update_cache: yes
|
||||
@ -113,7 +113,7 @@
|
||||
- rabbitmq-yum-packages
|
||||
|
||||
- name: Install RabbitMQ packages
|
||||
yum:
|
||||
package:
|
||||
name: "{{ (rabbitmq_install_method == 'file') | ternary(rabbitmq_package_path, rabbitmq_distro_packages) }}"
|
||||
register: install_rabbitmq
|
||||
tags:
|
||||
@ -121,7 +121,7 @@
|
||||
- rabbitmq-yum-packages
|
||||
|
||||
- name: Install RabbitMQ package dependencies for external_repo usage
|
||||
yum:
|
||||
package:
|
||||
pkg: "{{ item }}"
|
||||
state: "{{ rabbitmq_package_state }}"
|
||||
register: install_packages
|
||||
|
Loading…
Reference in New Issue
Block a user