This roles enable the server production state identification on the command prompt.
This role requires Ansible 2.1 or higher, and platform requirements are listed in the meta data file. It should work also with lower version, but I have never tested it.
Please readme the descriptions in the
defautls/main.yml
The most important variable is box_info_type
. This variable adds the colored server production state prefix.
Possible values are
prod
: prefix is REDPROD
test
: prefix is YELLOWTEST
dev
: prefix is GREENDEV
qa
: prefix is GREENQA
unknown
: prefix is WHITEUNDEF
, this is default
There is also user ROLE
identification
root
: red promptothers
: green prompt
None
BSD
Peter Hudec