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
|
- name: sync time - just once
|
||||||
action: command /usr/sbin/ntpdate -s -b 66.187.233.4
|
action: command /usr/sbin/ntpdate -s -b 66.187.233.4
|
||||||
|
|
||||||
- name: edit hostname to be instance name
|
- name: edit hostname to be instance name - prefix hostbase var if it exists
|
||||||
action: shell hostname `curl -s http://169.254.169.254/latest/meta-data/instance-id`
|
action: shell hostname ${hostbase}`curl -s http://169.254.169.254/latest/meta-data/instance-id`
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue