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