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: ansible.builtin.service:
name: apache2 name: apache2
state: reloaded state: reloaded

View file

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

View file

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