Skip to content
Snippets Groups Projects
Commit cc3a9c79 authored by Arne Øslebø's avatar Arne Øslebø
Browse files

fixed problem with tor nodes

parent 959a87c9
No related branches found
No related tags found
No related merge requests found
...@@ -115,18 +115,11 @@ ...@@ -115,18 +115,11 @@
tags: tags:
- start - start
- name: Download list of Tor exist nodes - name: Create empty list of Tor nodes
get_url: copy:
url: https://check.torproject.org/torbulkexitlist content: "ip_addr,value"
dest: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/enrich/tornodes.csv" dest: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/enrich/tornodes.csv"
tags: force: no
- start
- name: Add header to tornodes.csv
lineinfile:
path: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/enrich/tornodes.csv"
line: 'ip_addr'
insertbefore: BOF
tags: tags:
- start - start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment