-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcent7.yaml
executable file
·72 lines (59 loc) · 1.46 KB
/
cent7.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
- hosts: aws
remote_user: maintuser
become: true
become_user: root
tasks:
- name: Install EPEL Repo - Centos/RHEL 7
yum:
name: http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
state: present
- name: Install mysql community
yum:
name: http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
- name: Install list of packages
yum: name={{item}} state=installed
with_items:
- php
- php-pear
- mysql
- ntp
- php-mcrypt
- php-mssql
- php-tcpdf
- php-mysql
- php-gd
- mod_ssl
- php-pecl-zendopcache
- npm
- nodejs
- php-soap
- php-pclzip
#eva deps
- unarchive:
src: https://github.com/ValidUSA/legacy-dep/raw/master/Legacy/propel.tar.gz
dest: /usr/share/pear/
remote_src: True
- name: upgrade all pkgs
yum:
name: '*'
state: latest
- name: pearplex
yum:
name: https://github.com/ValidUSA/legacy-dep/raw/master/Legacy/php5-pear-channel-pearplex-1.0-1.1.noarch.rpm
state: present
disable_gpg_check: yes
- name: phpexcel
yum:
name: https://github.com/ValidUSA/legacy-dep/raw/master/Legacy/php5-pear-phpexcel-1.7.8-2.1.noarch.rpm
- name: install grunt
npm:
name: grunt-cli
global: yes
##service changes
- service:
name: mysqld
enabled: yes
- service:
name: mysqld
state: started