|
4 | 4 | # |
5 | 5 |
|
6 | 6 | - name: Print SSL certificate post-setup information |
7 | | - debug: msg="Filebeat SSL Certificate available at http://{{ ansible_fqdn }}:{{ elk_server_ssl_cert_port }}/beat-forwarder.crt" |
8 | | - when: (logging_backend != 'fluentd') |
| 7 | + debug: |
| 8 | + msg: "Filebeat SSL Certificate available at http://{{ ansible_fqdn }}:{{ elk_server_ssl_cert_port }}/beat-forwarder.crt" |
| 9 | + when: logging_backend != 'fluentd' |
9 | 10 |
|
10 | 11 | - name: Print SSL key post-setup information |
11 | | - debug: msg="Filebeat SSL Certificate key is located at http://{{ ansible_fqdn }}:{{ elk_server_ssl_cert_port }}/beat-forwarder.key" |
12 | | - when: (logging_backend != 'fluentd') |
| 12 | + debug: |
| 13 | + msg: "Filebeat SSL Certificate key is located at http://{{ ansible_fqdn }}:{{ elk_server_ssl_cert_port }}/beat-forwarder.key" |
| 14 | + when: logging_backend != 'fluentd' |
13 | 15 |
|
14 | 16 | - name: Print post-setup URL for Apache |
15 | | - debug: msg="*** ELK Services available at http://{{ ansible_fqdn }}:{{ www_kibana_port }}/kibana ***" |
16 | | - when: apache_reverse_proxy|bool |
| 17 | + debug: |
| 18 | + msg: "*** ELK Services available at http://{{ ansible_fqdn }}:{{ www_kibana_port }}/kibana ***" |
| 19 | + when: apache_reverse_proxy | bool |
17 | 20 |
|
18 | 21 | - name: Print post-setup URL for nginx |
19 | | - debug: msg="*** ELK Services available at http://{{ ansible_fqdn }}:{{ www_kibana_port }} ***" |
20 | | - when: apache_reverse_proxy|bool |
| 22 | + debug: |
| 23 | + msg: "*** ELK Services available at http://{{ ansible_fqdn }}:{{ www_kibana_port }} ***" |
| 24 | + when: apache_reverse_proxy | bool |
21 | 25 |
|
22 | 26 | - name: Print index creation instructions |
23 | | - debug: msg="*** 1) Navigate to http://{{ ansible_fqdn }}:{{ www_kibana_port }} and login with {{kibana_user}}/{{kibana_password}} ***" |
| 27 | + debug: |
| 28 | + msg: "*** 1) Navigate to http://{{ ansible_fqdn }}:{{ www_kibana_port }} and login with {{ kibana_user }}/{{ kibana_password }} ***" |
24 | 29 |
|
25 | 30 | - name: Print X-Pack instructions |
26 | | - debug: msg="*** 1A) (X-Pack only) Kibana account credentials login with elastic/{{xpack_elastic_user_password}} ***" |
27 | | - when: install_kibana_xpack|bool |
| 31 | + debug: |
| 32 | + msg: "*** 1A) (X-Pack only) Kibana account credentials login with elastic/{{ xpack_elastic_user_password }} ***" |
| 33 | + when: install_kibana_xpack | bool |
28 | 34 |
|
29 | 35 | - name: Print index creation more instructions |
30 | | - debug: msg="*** 2) Navigate to Discover (left-hand corner) --> Kibana (index patterns) ***" |
| 36 | + debug: |
| 37 | + msg: "*** 2) Navigate to Discover (left-hand corner) --> Kibana (index patterns) ***" |
31 | 38 |
|
32 | 39 | - name: Print index creation more instructions |
33 | | - debug: msg="*** 3) Type logstash-* into the index creation name and click Next ***" |
| 40 | + debug: |
| 41 | + msg: "*** 3) Type logstash-* into the index creation name and click Next ***" |
34 | 42 |
|
35 | 43 | - name: Print Index creation more instructions |
36 | | - debug: msg="*** 4) Select '@timestamp' under 'Time-field name' and Create Index Pattern ***" |
| 44 | + debug: |
| 45 | + msg: "*** 4) Select '@timestamp' under 'Time-field name' and Create Index Pattern ***" |
37 | 46 |
|
38 | 47 | - name: Print Navigation Instructions |
39 | | - debug: msg="*** 5) Click on Discover ***" |
| 48 | + debug: |
| 49 | + msg: "*** 5) Click on Discover ***" |
40 | 50 |
|
41 | 51 | - name: Print filebeat client setup instructions |
42 | 52 | debug: |
43 | | - "msg": [ |
44 | | - "*** 6) ansible-playbook -i hosts install/elk_client.yml --extra-vars 'elk_server={{ ansible_default_ipv4.address }}' to setup clients", |
45 | | - "*** To add new clients later, running only this command above is needed ***" |
46 | | - ] |
| 53 | + msg: |
| 54 | + - "*** 6) ansible-playbook -i hosts install/elk_client.yml --extra-vars 'elk_server={{ ansible_default_ipv4.address }}' to setup clients" |
| 55 | + - "*** To add new clients later, running only this command above is needed ***" |
0 commit comments