Merge branch 'prodprompt' - with maybe gooder syntax
This commit is contained in:
commit
e567ffdd24
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue