box_info
This roles enable the server production state identification on the command prompt.
Requirements
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.
Role Variables
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
Dependencies
None
License
BSD
Author Information
Peter Hudec