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
|
||||
#
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue