-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguam.cent.6.yaml
executable file
·92 lines (76 loc) · 1.88 KB
/
guam.cent.6.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
- hosts: guam
remote_user: root
tasks:
- name: Install EPEL Repo - Centos/RHEL 6
yum:
name: http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
state: present
- name: Install list of packages
yum: name={{item}} state=installed
with_items:
- php
- php-pear
- mysql-server
- php-mcrypt
- php-mssql
- php-tcpdf
- php-mysql
- php-gd
- mod_ssl
- php-pecl-zendopcache
- npm
- nodejs
- php-soap
- php-pclzip
#eva deps
- get_url:
url: https://github.com/ValidUSA/legacy-dep/raw/master/Legacy/propel.tar.gz
dest: /root/
- 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
###file permessions
- file:
path: /usr/share/pear/propel
owner: root
group: root
recurse: yes
- name: Creates dir
file: path=/etc/pki/httpd state=directory
- copy:
src: /home/carys/Downloads/weblinkid.com.cert
dest: /etc/pki/httpd/
owner: root
group: root
mode: 0600
- copy:
src: /home/carys/Downloads/weblinkid.com.key
dest: /etc/pki/httpd/
owner: root
group: root
mode: 0600