diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-04-09 20:35:43 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-04-09 20:35:45 -0400 |
commit | 36de211ca5ff9a2c0add03ff923a5d43788c0ae6 (patch) | |
tree | 396932784bfb252be460384ea43df10847896059 /roles/hostname/defaults | |
parent | de3755c284411432c7565fa0f01f1487abe65aaf (diff) | |
download | infra-36de211ca5ff9a2c0add03ff923a5d43788c0ae6.tar.gz infra-36de211ca5ff9a2c0add03ff923a5d43788c0ae6.zip |
import ansible-hostname role
Pretty ridiculous that this is required
Diffstat (limited to 'roles/hostname/defaults')
-rw-r--r-- | roles/hostname/defaults/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/hostname/defaults/main.yml b/roles/hostname/defaults/main.yml new file mode 100644 index 0000000..ec58975 --- /dev/null +++ b/roles/hostname/defaults/main.yml @@ -0,0 +1,3 @@ +--- +hostname_fqdn: "{{ansible_fqdn}}" +hostname_name: "{{hostname_fqdn.split('.').0}}" |