Merge branch 'prodprompt' - with maybe gooder syntax

This commit is contained in:
aikidouke 2016-04-06 19:15:37 +00:00
commit e567ffdd24

View file

@ -172,13 +172,13 @@
#Should work in sh/bash. Needs tested in other shells
#
- name: set PS1 for prod and stage in /etc/profile.d
copy: >
src=templates/setps1.sh.j2
dest=/etc/profile.d/setps1.sh
owner=root
group=sysadmin-badges
mode=644
when: {{ env in ['production','staging'] }}
template: >
src=templates/setps1.sh.j2
dest="/etc/profile.d/setps1.sh"
owner=root
group=sysadmin-badges
mode=644
when: "{{ env in [production,staging] }}"
tags:
- base
- config