Closed vvaldez closed 8 years ago
This looks A_OK to me. @etsauer did you still want it to include the "testenv" in addition to the username? Just to easier identify which environments are truly temporary env v.s. "production" ?
@oybed @vvaldez I think i still want something generic to identify it as one of ours. users are expected to put their username in any vm they create (even though they generally don't)
make it "casl-username" :)
@oybed @etsauer done
I like it - ship it!!
Thanks! Together with #149 these will really help with large environments.
What does this PR do?
Changes the default for the default_env_id variable to use the local system's OS_USERNAME variable that should be sourced from a file similar to openrc.sh.
How should this be manually tested?
Run a playbook and do not specify the env_id variable so the default can be used. Verify the name contains your OpenStack username.
Is there a relevant Issue open for this?
None.
Who would you like to review this?
/cc @oybed @etsauer @sabre1041