[tor-relays] ansible-relayor, how to ?

Vasilis andz at torproject.org
Sat Mar 31 12:06:00 UTC 2018


Hi Paul,

Paul:
> Am 25.02.2017 um 09:34 schrieb nusenu:
>>
>> https://medium.com/@nusenu/deploying-tor-relays-with-ansible-6612593fa34d
>>
> 
> I like to use ansible as well - one question:
> 
> ~/ansible/hosts:
> 
> [relays]
> relay1.example.com
> relay2.example.com
> 
> Do/can I place the IP address of my servers there or do only domain names work? 

It's perfectly OK to use IP addresses in Ansible's host inventory.
However you should be using the same hostname as the one set in your SSH config
file (usually under ~/.ssh/config).

Ansible documentation should get you started [1].

[1] http://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html


Cheers,
~Vasilis
-- 
Fingerprint: 8FD5 CF5F 39FC 03EB B382 7470 5FBF 70B1 D126 0162
Pubkey: https://pgp.mit.edu/pks/lookup?op=get&search=0x5FBF70B1D1260162

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180331/ba366306/attachment.sig>


More information about the tor-relays mailing list