diff --git a/roles/nifi/tasks/main.yml b/roles/nifi/tasks/main.yml index 7d0429666239c250f5bdc6df08aad4b8d411b6e1..790bf4a030c33fbbd43e6c5d34df9ea0ded84914 100644 --- a/roles/nifi/tasks/main.yml +++ b/roles/nifi/tasks/main.yml @@ -115,18 +115,11 @@ tags: - start -- name: Download list of Tor exist nodes - get_url: - url: https://check.torproject.org/torbulkexitlist +- name: Create empty list of Tor nodes + copy: + content: "ip_addr,value" dest: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/enrich/tornodes.csv" - tags: - - start - -- name: Add header to tornodes.csv - lineinfile: - path: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/enrich/tornodes.csv" - line: 'ip_addr' - insertbefore: BOF + force: no tags: - start