diff options
Diffstat (limited to 'roles/taskotron/buildmaster/tasks/main.yml')
| -rw-r--r-- | roles/taskotron/buildmaster/tasks/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/taskotron/buildmaster/tasks/main.yml b/roles/taskotron/buildmaster/tasks/main.yml index 263ca8dea..131d09be2 100644 --- a/roles/taskotron/buildmaster/tasks/main.yml +++ b/roles/taskotron/buildmaster/tasks/main.yml @@ -39,19 +39,19 @@ - name: ensure buildmaster user can use home directory (old) file: path="{{ buildmaster_home }}" state=directory owner=buildmaster group=buildmaster mode=0775 setype=user_home_t - when: deployment_type == 'prod' or deployment_type == 'local' + when: deployment_type == 'local' - name: ensure buildmaster user can use home directory (new) file: path="{{ buildmaster_home }}" state=directory owner=buildmaster group=buildmaster mode=0775 - when: deployment_type in ['dev', 'stg'] + when: deployment_type in ['dev', 'stg', 'prod'] - name: set the selinux fcontext type for the buildmaster_home to var_lib_t command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?" - when: deployment_type in ['dev', 'stg', 'qa-stg'] + when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg'] - name: make sure the selinux fcontext is restored command: restorecon -R "{{ buildmaster_home }}" - when: deployment_type in ['dev', 'stg', 'qa-stg'] + when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg'] - name: allow httpd tcp connections with selinux seboolean: name=httpd_can_network_connect state=true persistent=yes |
