-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentos_build_cpp.yml
38 lines (33 loc) · 1.06 KB
/
centos_build_cpp.yml
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
- hosts: all
sudo: yes
gather_facts: no
pre_tasks:
- name: 'install python2'
raw: sudo yum -y install python
tasks:
- name: 'epel-release'
yum: {state: present, name: [epel-release]}
- name: 'install svn git scons'
yum: {state: present, name: [subversion, git, scons]}
- name: 'install pip'
yum: {state: present, name: python-pip}
- name: 'pip protobuf'
pip: { name: protobuf, version: 3.7.1 }
- name: pip install python module
pip: { name: [xlrd, pytz], state: present}
- name: cmake, automake, unzip
yum: {state: present, name: [cmake, cmake3, automake, unzip, wget]}
- name: '*-dev'
yum:
state: present
name:
- http://repo.okay.com.mx/centos/7/x86_64/release//boost166-1.66.0-16.el7.x86_64.rpm
- libunwind-devel
- openssl-devel
- mariadb-devel
- lua-devel
- protobuf-compiler
- gcc-c++
- libtool
- libstdc++-static
- libcurl-devel