buildmaster: make sure the selinux fcontext is restored
This commit is contained in:
parent
70b8400720
commit
d5121df4d3
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@
|
||||||
command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?"
|
command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?"
|
||||||
when: deployment_type in ['dev', 'stg', 'qa-stg']
|
when: deployment_type in ['dev', 'stg', 'qa-stg']
|
||||||
|
|
||||||
|
- name: make sure the selinux fcontext is restored
|
||||||
|
command: restorecon -R "{{ buildmaster_home }}"
|
||||||
|
when: slaves is defined and deployment_type in ['dev', 'stg', 'qa-stg']
|
||||||
|
|
||||||
- name: add the buildmaster user
|
- name: add the buildmaster user
|
||||||
user: name={{ buildmaster_user }} home={{ buildmaster_home }}
|
user: name={{ buildmaster_user }} home={{ buildmaster_home }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue