Fix CentOS curl conflict: Use yum with allowerasing for RedHat systems
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
state: present
|
state: present
|
||||||
tags: php
|
tags: php
|
||||||
|
|
||||||
- name: Install additional tools
|
- name: Install additional tools (Debian/Ubuntu)
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- curl
|
- curl
|
||||||
@@ -97,6 +97,19 @@
|
|||||||
- unzip
|
- unzip
|
||||||
- git
|
- git
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
tags: tools
|
||||||
|
|
||||||
|
- name: Install additional tools (RedHat/CentOS)
|
||||||
|
yum:
|
||||||
|
name:
|
||||||
|
- curl
|
||||||
|
- wget
|
||||||
|
- unzip
|
||||||
|
- git
|
||||||
|
state: present
|
||||||
|
allowerasing: yes
|
||||||
|
when: ansible_os_family == "RedHat"
|
||||||
tags: tools
|
tags: tools
|
||||||
|
|
||||||
# Service Management
|
# Service Management
|
||||||
|
|||||||
Reference in New Issue
Block a user