summaryrefslogtreecommitdiffstats
path: root/roles/taskotron/buildmaster
diff options
context:
space:
mode:
authorMartin Krizek <mkrizek@redhat.com>2017-01-05 09:58:16 +0000
committerMartin Krizek <mkrizek@redhat.com>2017-01-05 09:58:34 +0000
commit8ff387fcf311ca57293ef670df989fdc6ef863ab (patch)
treef7e4536f596fd959f34615a82fe7a85f276d6fff /roles/taskotron/buildmaster
parent308653cfe869ba164e6cf35d20bd294ae7142cb9 (diff)
downloadansible-8ff387fcf311ca57293ef670df989fdc6ef863ab.tar.gz
ansible-8ff387fcf311ca57293ef670df989fdc6ef863ab.tar.xz
ansible-8ff387fcf311ca57293ef670df989fdc6ef863ab.zip
Fix condition
Diffstat (limited to 'roles/taskotron/buildmaster')
-rw-r--r--roles/taskotron/buildmaster/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/taskotron/buildmaster/tasks/main.yml b/roles/taskotron/buildmaster/tasks/main.yml
index cb69abfbc..c89015cd2 100644
--- a/roles/taskotron/buildmaster/tasks/main.yml
+++ b/roles/taskotron/buildmaster/tasks/main.yml
@@ -40,7 +40,7 @@
- name: make sure the selinux fcontext is restored
command: restorecon -R "{{ buildmaster_home }}"
- when: slaves is defined and deployment_type in ['dev', 'stg', 'qa-stg']
+ when: deployment_type in ['dev', 'stg', 'qa-stg']
- name: add the buildmaster user
user: name={{ buildmaster_user }} home={{ buildmaster_home }}