You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
requesting access for test-requireio-osx1010-x64-1 #752
@gibfahn all machines should live in our inventory. This one doesn't.
Yeah, I meant how do we get the IP to add to the inventory. Using one of these from the Script Console does seem to work, but of course it gave 192.168.2.210, which I assumed was wrong (didn't think of the jump box).
Followon question, at the moment the generated ~/.ssh/config entries that use the jumpbox are of the form:
Host test-requireio_louiscntr-debian7-arm_pi2-1
HostName 192.168.2.68
IdentityFile ~/.ssh/nodejs_build_test
User pi
ProxyCommand ssh -i ~/.ssh/nodejs_build_test -W %h:%p -p 2222 jump@vagg-arm.nodejs.org
The one @rvagg just posted seems like a nicer way to write it, could we convert the inventory ansible script to write configs like that? I'm happy to do the work if it's possible.
Activity
gibfahn commentedon Jun 9, 2017
SGTM
gibfahn commentedon Jun 10, 2017
@Trott would you mind PRing the update to the inventory if you've got things working?
I understand from IRC that you've got the IP and the keys, you just need the user (which I assume will be
root).Trott commentedon Jun 10, 2017
rootwas my guess too but alas no...(or I have something else set up wrong)gibfahn commentedon Jun 10, 2017
How did you get the IP address?
@jbergstroem in general how do we get the IP of a machine?
rvagg commentedon Jun 10, 2017
@Trott it's not straightforward but this should get you in:
rvagg commentedon Jun 10, 2017
sorry, that's for your .ssh/config
jbergstroem commentedon Jun 10, 2017
@gibfahn all machines should live in our inventory. This one doesn't.
gibfahn commentedon Jun 10, 2017
Yeah, I meant how do we get the IP to add to the inventory. Using one of these from the Script Console does seem to work, but of course it gave
192.168.2.210, which I assumed was wrong (didn't think of the jump box).gibfahn commentedon Jun 10, 2017
Followon question, at the moment the generated
~/.ssh/configentries that use the jumpbox are of the form:The one @rvagg just posted seems like a nicer way to write it, could we convert the inventory ansible script to write configs like that? I'm happy to do the work if it's possible.
ansible: add requireio-osx1010-x64-1 to inventory
Trott commentedon Jun 11, 2017
Thanks, @rvagg. That worked.
rvagg commentedon Jun 12, 2017
@gibfahn I don't mind either way. The one you pasted doesn't require the parent Host entry though so perhaps it's nicer.
ansible: add requireio-osx1010-x64-1 to inventory
ansible: add requireio-osx1010-x64-1 to inventory