remove semanage command for dev buildslave

This commit is contained in:
Tim Flink 2017-10-11 18:42:53 +00:00
parent cab58c7932
commit 57f443aab9

View file

@ -60,7 +60,7 @@
- name: set the selinux fcontext type for the buildslave dir to var_lib_t
command: semanage fcontext -a -t var_lib_t "{{ item.dir }}"
with_items: "{{ slaves }}"
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
when: slaves is defined and deployment_type in ['stg', 'prod', 'qa-prod', 'qa-stg']
- name: make sure the selinux fcontext is restored
command: restorecon -R "{{ item.dir }}"