summaryrefslogtreecommitdiffstats
path: root/roles/taskotron
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2017-05-16 05:06:18 +0000
committerTim Flink <tflink@fedoraproject.org>2017-05-16 05:06:32 +0000
commit06630d2a0f6e406208b222bdc40f8de5b147a1fd (patch)
tree9e5291ed0e1f18a14a184388b07e0dca3f8c5ddb /roles/taskotron
parent09ca810590421c142b18b1ff8702e09d8cacbd90 (diff)
downloadansible-06630d2a0f6e406208b222bdc40f8de5b147a1fd.tar.gz
ansible-06630d2a0f6e406208b222bdc40f8de5b147a1fd.tar.xz
ansible-06630d2a0f6e406208b222bdc40f8de5b147a1fd.zip
run selinux context changes on qa prod/stg as well
Diffstat (limited to 'roles/taskotron')
-rw-r--r--roles/taskotron/buildslave/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/taskotron/buildslave/tasks/main.yml b/roles/taskotron/buildslave/tasks/main.yml
index acc747d59..25e2256d0 100644
--- a/roles/taskotron/buildslave/tasks/main.yml
+++ b/roles/taskotron/buildslave/tasks/main.yml
@@ -60,10 +60,10 @@
- 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']
+ when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
- name: make sure the selinux fcontext is restored
command: restorecon -R "{{ item.dir }}"
with_items: "{{ slaves }}"
- when: slaves is defined and deployment_type in ['dev', 'stg', 'prod']
+ when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']