add the optiona $hostbase to the cloud setup schtick
This commit is contained in:
parent
6794fdc28b
commit
00c20b3fe2
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
|||
- name: sync time - just once
|
||||
action: command /usr/sbin/ntpdate -s -b 66.187.233.4
|
||||
|
||||
- name: edit hostname to be instance name
|
||||
action: shell hostname `curl -s http://169.254.169.254/latest/meta-data/instance-id`
|
||||
- name: edit hostname to be instance name - prefix hostbase var if it exists
|
||||
action: shell hostname ${hostbase}`curl -s http://169.254.169.254/latest/meta-data/instance-id`
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue