renamed roles

This commit is contained in:
xpk
2019-01-16 10:19:21 +08:00
parent ca24bb2bea
commit 396facff4d
3 changed files with 4 additions and 4 deletions
+32
View File
@@ -0,0 +1,32 @@
- name: Install EPEL repo
yum:
name: epel-release
state: present
- name: Install IUS repo
yum:
name: https://centos7.iuscommunity.org/ius-release.rpm
state: present
- name: Install packages
yum:
name: "{{item}}"
state: present
with_items:
- httpd24u
- mariadb-server
- mariadb-devel
- php72u-mysqlnd
- php72u-xml
- php72u-json
- php72u-imap
- mod_php72u
- name: Enable services
service:
name: "{{item}}"
state: started
enabled: yes
with_items:
- httpd
- mariadb