chore: use FQCN for module name

This commit is contained in:
Adrien Waksberg 2021-08-24 13:31:24 +02:00
parent a2cd107319
commit c60e095ff3
3 changed files with 10 additions and 8 deletions

View file

@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Changed
- test: replace kitchen to molecule
- chore: use FQCN for module name
### Removed

View file

@ -1,5 +1,5 @@
---
- name: restart kibana
systemd:
ansible.builtin.service:
name: kibana
state: restarted

View file

@ -1,6 +1,6 @@
---
- name: install dependencies packages
apt:
ansible.builtin.package:
name:
- apt-transport-https
- gpg
@ -10,7 +10,7 @@
tags: kibana
- name: add repository key
apt_key:
ansible.builtin.apt_key:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
retries: 2
register: result
@ -18,20 +18,21 @@
tags: kibana
- name: add repository
apt_repository:
ansible.builtin.apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/{{ kibana_major_version }}.x/apt stable main'
tags: kibana
- name: install package
apt:
name: kibana
ansible.builtin.package:
name:
- kibana
retries: 2
register: result
until: result is succeeded
tags: kibana
- name: copy config file
copy:
ansible.builtin.copy:
content: '{{ kibana_config|to_yaml }}'
dest: /etc/kibana/kibana.yml
owner: root
@ -41,7 +42,7 @@
tags: kibana
- name: enable and start service
systemd:
ansible.builtin.service:
name: kibana
state: started
enabled: true