-
Notifications
You must be signed in to change notification settings - Fork 2
/
system_prerequisites.yml
42 lines (42 loc) · 993 Bytes
/
system_prerequisites.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
39
40
41
42
---
- name: Install System Prerequisities
hosts: all
handlers:
- include: handlers/restart.yml
tasks:
- name: Apply system updates
dnf: name=* state=latest
notify:
- restart machine
- wait for machine to restart
- name: Install application prerequisites
dnf: name='{{ item }}'
with_items:
- git
- kernel-devel
- gcc-c++
- libaio-devel
- ninja-build
- ragel
- hwloc-devel
- numactl-devel
- libpciaccess-devel
- cryptopp-devel
- xen-devel
- boost-devel
- libxml2-devel
- libubsan
- libasan
- name: Disable firewalld
service: >
name=firewalld
enabled=no
state=stopped
- name: Disable SELINUX
lineinfile: >
dest=/etc/selinux/config
regexp=^SELINUX=
line=SELINUX=disabled
notify:
- restart machine
- wait for machine to restart