[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays