You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yaml 441B

1234567891011121314151617181920
  1. ---
  2. - import_tasks: setup_Debian.yaml
  3. - name: torrc config file
  4. template:
  5. src: torrc.j2
  6. dest: /etc/tor/torrc
  7. notify: restart tor
  8. - name: flush handlers
  9. meta: flush_handlers
  10. - name: get tor hidden service hostnames
  11. command: cat /var/lib/tor/{{item}}/hostname
  12. loop: "{{ tor_hidden_services | json_query('[*].name') }}"
  13. register: tor_hidden_services_hostnames_cat
  14. changed_when: false
  15. - import_tasks: local_facts.yaml