File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 96
96
## v1.3.2
97
97
98
98
- Disable SELinux when Docker is used
99
+
100
+ ## v1.3.3
101
+
102
+ - Correct var
103
+ - More SELinux config
Original file line number Diff line number Diff line change 2
2
# File: tasks/CentOS.yml - CentOS tasks for nomad
3
3
4
4
# Supposedly SELinux disrupts LXC (shrug)
5
+
6
+ - name : Stop SELinux enforcing
7
+ shell : " setenforce 0"
8
+ when : nomad_docker_enable == "true"
9
+
5
10
- name : Disable SELinux
6
- lineinfile : dest=/etc/selinux/config regexp='^SELINUX=enforcing' line ='SELINUX=disabled'
7
- when : nomad_enable_docker == "true"
11
+ replace : dest=/etc/selinux/config regexp='^SELINUX=enforcing' replace ='SELINUX=disabled'
12
+ when : nomad_docker_enable == "true"
8
13
9
14
- name : OS Packages
10
15
yum : " name={{ item }} state=present"
Original file line number Diff line number Diff line change 1
1
---
2
2
# File: tasks/Red Hat.yml - Red Hat tasks for nomad
3
3
4
+ - name : Stop SELinux enforcing
5
+ shell : " setenforce 0"
6
+ when : nomad_docker_enable == "true"
7
+
4
8
# Supposedly SELinux disrupts LXC (shrug)
5
9
- name : Disable SELinux
6
- lineinfile : dest=/etc/selinux/config regexp='^SELINUX=enforcing' line ='SELINUX=disabled'
7
- when : nomad_enable_docker == "true"
10
+ replace : dest=/etc/selinux/config regexp='^SELINUX=enforcing' replace ='SELINUX=disabled'
11
+ when : nomad_docker_enable == "true"
8
12
9
13
- name : OS Packages
10
14
yum : " name={{ item }} state=present"
Original file line number Diff line number Diff line change 1
- v1.3.2
1
+ v1.3.3
You can’t perform that action at this time.
0 commit comments