diff options
author | Stephen Smoogen <smooge@redhat.com> | 2016-12-01 20:30:06 +0000 |
---|---|---|
committer | Stephen Smoogen <smooge@redhat.com> | 2016-12-01 20:30:06 +0000 |
commit | 178fa600da2b37f1200d94fcbc37cb55613ab13d (patch) | |
tree | 3742f04305dd4446505ba9156bb9377cb30f7928 | |
parent | 48836e3695eaf621081ba2cc92ed595c9913544d (diff) | |
parent | 9d379856688b75b57e48ba838e9e843337744231 (diff) | |
download | ansible-178fa600da2b37f1200d94fcbc37cb55613ab13d.tar.gz ansible-178fa600da2b37f1200d94fcbc37cb55613ab13d.tar.xz ansible-178fa600da2b37f1200d94fcbc37cb55613ab13d.zip |
Merge branch 'master' of /git/ansible
-rw-r--r-- | roles/taskotron/buildslave/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/taskotron/buildslave/tasks/main.yml b/roles/taskotron/buildslave/tasks/main.yml index 5df8c6999..016794072 100644 --- a/roles/taskotron/buildslave/tasks/main.yml +++ b/roles/taskotron/buildslave/tasks/main.yml @@ -29,6 +29,10 @@ - python2-rpmfluff when: (deployment_type == 'qa-stg') and (ansible_distribution_major_version|int > 21) and (ansible_cmdline.ostree is not defined) +- name: set the selinux fcontext type for the buildmaster_home to var_lib_t + command: semanage fcontext -a -t var_lib_t "{{ slave_dir }}(/.*)?" + when: deployment_type in ['qa-stg'] + - name: add the buildslave user for taskotron user: name=buildslave when: deployment_type in ['local'] |