mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
syntax
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Set PS1 based on env
|
||||
#
|
||||
{% if {{ env }} in 'production' %}
|
||||
{% if {{ env }} == 'production' %}
|
||||
PS1="\e[0;31m[PROD]\e[m[\u@\h \W]\$ "
|
||||
{% elif {{ env }} in 'staging' %}
|
||||
{% elif {{ env }} == 'staging' %}
|
||||
PS1="[STG]\e[m[\u@\h \W]\$ "
|
||||
{% endif }%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user