1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
8 - name: create service-dir for hidden service {{hs}}
10 path: "/var/lib/tor/hidden_{{hs}}"
18 - name: copy hidden service {{hs}} private key
21 dest: "/var/lib/tor/hidden_{{hs}}/hs_ed25519_secret_key"
26 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/hs_ed25519_secret_key_{{hs}}"
27 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/hs_ed25519_secret_key_{{hs}}"
28 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/hs_ed25519_secret_key_{{hs}}"
29 - "default/hs_ed25519_secret_key_{{hs}}"
30 notify: restart tor.service