diff options
| author | Tim Flink <tflink@fedoraproject.org> | 2017-05-16 05:06:18 +0000 |
|---|---|---|
| committer | Tim Flink <tflink@fedoraproject.org> | 2017-05-16 05:06:32 +0000 |
| commit | 06630d2a0f6e406208b222bdc40f8de5b147a1fd (patch) | |
| tree | 9e5291ed0e1f18a14a184388b07e0dca3f8c5ddb /roles/taskotron | |
| parent | 09ca810590421c142b18b1ff8702e09d8cacbd90 (diff) | |
| download | ansible-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.yml | 4 |
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'] |
