Skip to content
Snippets Groups Projects
Commit cb062804 authored by root's avatar root
Browse files

update nifi to latest version 1.16.2

parent b3989152
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ sysctlconfig:
nifi_javamem: "1500m"
odfe_javamem: "512m"
nifi_version: 1.12.1
nifi_version: 1.16.2
nifi_repo: "https://archive.apache.org/dist"
ca_cn: "SOCTOOLS-CA"
......
......@@ -185,6 +185,21 @@
line: 'index,domain'
insertbefore: BOF
- name: configure zookeeper parameters
lineinfile:
path: "/opt/nifi/nifi-current/conf/state-management.xml"
regexp: '\<property name\=\"Connect String\"\>\<\/property\>'
line: ' <property name="Connect String">{{ zookeeper_name }}:2181</property>'
state: present
backrefs: yes
- name: set nifi encryption key
remote_user: nifi
shell: export NIFI_BASE_DIR=/opt/nifi; export NIFI_HOME=${NIFI_BASE_DIR}/nifi-current; /opt/nifi/nifi-current/bin/nifi.sh set-sensitive-properties-key {{lookup('password', '{{playbook_dir}}/secrets/tokens/nifi_encryption_key')}}
args:
chdir: /opt/nifi/nifi-current/conf
executable: /bin/bash
- name: Set Autostart for supervisord's services
replace:
path: /etc/supervisord.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment