File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed
Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 11---
22
3- ludus_ar_linux_splunk_uf_url : https://download.splunk.com/products/universalforwarder/releases/9.3.0 /linux/splunkforwarder-9.3.0-51ccf43db5bd -linux-2.6 -amd64.deb
3+ ludus_ar_linux_splunk_uf_url : https://download.splunk.com/products/universalforwarder/releases/9.4.7 /linux/splunkforwarder-9.4.7-2a9293b80994 -linux-amd64.deb
44ludus_ar_linux_splunk_password : changeme123!
55ludus_ar_linux_splunk_ip : " 10.2.20.1"
Original file line number Diff line number Diff line change 44 roles :
55 - role : ../../..
66 vars :
7- ludus_ar_linux_splunk_uf_url : https://download.splunk.com/products/universalforwarder/releases/9.3.0 /linux/splunkforwarder-9.3.0-51ccf43db5bd -linux-2.6 -amd64.deb
7+ ludus_ar_linux_splunk_uf_url : https://download.splunk.com/products/universalforwarder/releases/9.4.7 /linux/splunkforwarder-9.4.7-2a9293b80994 -linux-amd64.deb
88 ludus_ar_linux_splunk_password : changeme123!
99 ludus_ar_linux_splunk_ip : " 10.2.20.1"
1010 ignore_errors : yes
Original file line number Diff line number Diff line change 99 update_cache : yes
1010 become : yes
1111
12+ - name : Check if running in Docker
13+ stat :
14+ path : /.dockerenv
15+ register : dockerenv_check
16+ become : no
17+
1218- name : Reboot the server
1319 reboot :
1420 msg : " Rebooting server after installing auditd"
1824 post_reboot_delay : 30
1925 test_command : uptime
2026 become : yes
27+ when : not dockerenv_check.stat.exists | default(false)
2128
2229- name : Download audit rules
2330 get_url :
Original file line number Diff line number Diff line change 66- include_tasks : install_auditd.yml
77- include_tasks : install_art.yml
88
9+ - name : Check if running in Docker
10+ stat :
11+ path : /.dockerenv
12+ register : dockerenv_check
13+ become : no
14+
915- name : Reboot the server
1016 reboot :
1117 msg : " Rebooting server after ansible provisioning"
1420 pre_reboot_delay : 0
1521 post_reboot_delay : 30
1622 test_command : uptime
17- become : yes
23+ become : yes
24+ when : not dockerenv_check.stat.exists | default(false)
You can’t perform that action at this time.
0 commit comments