chore: fix syntax for ansible lint

This commit is contained in:
Adrien Waksberg 2024-05-07 22:05:41 +02:00
parent b08f2eda4d
commit deb2afb389
3 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
---
- name: reload apache
- name: Reload apache
ansible.builtin.service:
name: apache2
state: reloaded

View file

@ -6,7 +6,7 @@ galaxy_info:
company: Adrien Waksberg
description: Install icingaweb2
license: Apache2
min_ansible_version: 2.9
min_ansible_version: "2.9"
platforms:
- name: Debian

View file

@ -1,32 +1,32 @@
---
- name: install dependencies packages
- name: Install dependencies packages
ansible.builtin.package:
name:
- apt-transport-https
tags: icingaweb2
- name: add key repository
- name: Add key repository
ansible.builtin.apt_key:
url: https://packages.icinga.com/icinga.key
tags: icingaweb2
- name: add repository
- name: Add repository
ansible.builtin.apt_repository:
repo: 'deb https://packages.icinga.com/debian icinga-{{ ansible_distribution_release }} main'
tags: icingaweb2
- name: install packages
- name: Install packages
ansible.builtin.package:
name:
- icingaweb2
tags: icingaweb2
- name: enable apache configuration
- name: Enable apache configuration
ansible.builtin.file:
src: /etc/apache2/conf-available/icingaweb2.conf
dest: /etc/apache2/sites-enabled/icingaweb2.conf
owner: root
group: root
state: link
notify: reload apache
notify: Reload apache
tags: icingaweb2