debian_family.yml 849 B

123456789101112131415161718192021222324
  1. #- name: Include variables
  2. # include_vars:
  3. # file: "../../../variables.yml"
  4. #- name: Install docker prerequsistes
  5. # apt:
  6. # pkg:
  7. # - squashfs-tools
  8. - name: add tor repo in /etc/apt/sources.list.d/tor.list [1/2]
  9. shell: echo "deb https://deb.torproject.org/torproject.org {{ ansible_distribution_release }} main" > /etc/apt/sources.list.d/tor.list
  10. - name: add tor repo in /etc/apt/sources.list.d/tor.list [2/2]
  11. shell: echo "deb-src https://deb.torproject.org/torproject.org {{ ansible_distribution_release }} main" >> /etc/apt/sources.list.d/tor.list
  12. - name: Add tor repo key
  13. shell: curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
  14. - name: Install tor
  15. apt:
  16. pkg:
  17. - deb.torproject.org-keyring
  18. - tor