Fix condition

This commit is contained in:
Martin Krizek 2017-01-05 09:58:16 +00:00
parent 308653cfe8
commit 8ff387fcf3

View file

@ -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 }}