DEV-386: to use techn.user to scrape metrics for ssh-root-login
parent
aae57149dc
commit
4bf4167216
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
- name: "Do some stuff in elastic with spaces ... "
|
||||||
|
include_role:
|
||||||
|
name: kibana
|
||||||
|
tasks_from: _configure_spaces.yml
|
||||||
|
loop: "{{ technical_user.elastic_spaces }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: elastic_space
|
||||||
|
|
||||||
|
- name: "Do some stuff in elastic with roles ..."
|
||||||
|
include_role:
|
||||||
|
name: kibana
|
||||||
|
tasks_from: _configure_roles.yml
|
||||||
|
loop: "{{ technical_user.elastic_roles }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: elastic_role
|
||||||
|
|
||||||
|
- name: "Do some stuff in elastic with users ..."
|
||||||
|
include_role:
|
||||||
|
name: kibana
|
||||||
|
tasks_from: _configure_users.yml
|
||||||
|
loop: "{{ technical_user.elastic_users }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: elastic_user
|
||||||
|
|
||||||
|
- name: "Do some stuff in elastic with indexpattern ..."
|
||||||
|
vars:
|
||||||
|
es_space: technical_user.elastic_index_pattern
|
||||||
|
include_role:
|
||||||
|
name: kibana
|
||||||
|
tasks_from: _configure_indexpattern.yml
|
||||||
|
loop: "{{ technical_user.elastic_index_pattern }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: elastic_index_pattern
|
||||||
Loading…
Reference in New Issue