Skip to content

Commit 908ec37

Browse files
[FIX] Fixed Tenable Nessus agent install task (#59)
1 parent 77612cd commit 908ec37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/tasks/cloud_agents.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
state: present
6565

6666
- name: cloud_agents | link Tenable Nessus cloud agent (with proxy if applicable)
67-
shell: "{{ cloud_agent.tenable.bin_path }}/nessuscli agent link --key={{ tenable_cloud_agent.nessus_key_id }} --groups={{ tenable_cloud_agent.nessus_group_id }} --cloud {%- if 'proxy' in cloud_agent.tenable -%} --proxy-host={{ tenable_cloud_agent.proxy.host }} --proxy-port={{ tenable_cloud_agent.proxy.port }} {%- endif -%}"
67+
become: yes
68+
shell: "{{ cloud_agent.tenable.bin_path }}/nessuscli agent link --key={{ cloud_agent.tenable.nessus_key_id }} --groups={{ cloud_agent.tenable.nessus_group_id }} --cloud {%- if 'proxy' in cloud_agent.tenable -%} --proxy-host={{ cloud_agent.tenable.proxy.host }} --proxy-port={{ cloud_agent.tenable.proxy.port }} {%- endif -%}"
6869
when: "'proxy' in cloud_agent.tenable"
6970

7071
- name: cloud_agents | enable and start Tenable Nessus service

0 commit comments

Comments
 (0)