diff options
author | heqnx <root@heqnx.com> | 2025-05-29 19:59:55 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-05-29 19:59:55 +0300 |
commit | 05d7102d6afa2d255926a3f4169176dd406c9cd3 (patch) | |
tree | b04c4f7ded1e136aa3e04e94e57fe7a8c0df659c /roles/tor/tasks | |
parent | b8f1d76bd38d03e68fbc51f8e7340a9963a4104d (diff) | |
download | ansible-playbooks-main.tar.gz ansible-playbooks-main.zip |
Diffstat (limited to 'roles/tor/tasks')
-rw-r--r-- | roles/tor/tasks/ssh_hidden_service.yaml | 6 | ||||
-rw-r--r-- | roles/tor/tasks/tor_install.yaml | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/roles/tor/tasks/ssh_hidden_service.yaml b/roles/tor/tasks/ssh_hidden_service.yaml index e757aa1..d2415f2 100644 --- a/roles/tor/tasks/ssh_hidden_service.yaml +++ b/roles/tor/tasks/ssh_hidden_service.yaml @@ -84,7 +84,7 @@ fetch: src: /root/.ssh/id_ed25519_onion dest: "./{{ onion_address }}/{{ onion_address }}_id_ed25519" - flat: yes + flat: true - name: set correct permissions on fetched hidden service private key file: @@ -96,13 +96,13 @@ fetch: src: /root/.ssh/id_ed25519_onion.pub dest: "./{{ onion_address }}/{{ onion_address }}_id_ed25519.pub" - flat: yes + flat: true - name: fetch hidden service private key fetch: src: "/var/lib/tor/ssh/hs_ed25519_secret_key" dest: "./{{ onion_address }}/hs_ed25519_secret_key" - flat: yes + flat: true mode: '0600' - name: generate onion-specific ssh config snippet diff --git a/roles/tor/tasks/tor_install.yaml b/roles/tor/tasks/tor_install.yaml index 3a053e6..f1fc92f 100644 --- a/roles/tor/tasks/tor_install.yaml +++ b/roles/tor/tasks/tor_install.yaml @@ -9,6 +9,7 @@ - netcat-openbsd state: present update_cache: true + cache_valid_time: 86400 - name: check if /etc/tor/torrc exists stat: |