lint: remove empty lines after ---

This commit is contained in:
uumas
2025-01-27 04:53:33 +02:00
parent 8825bba2c6
commit 34de2fe02b
17 changed files with 0 additions and 17 deletions

View File

@@ -1,5 +1,4 @@
--- ---
Creates users specified in the `users` variable. Syntax: Creates users specified in the `users` variable. Syntax:
``` ```

View File

@@ -1,5 +1,4 @@
--- ---
namespace: uumas namespace: uumas
name: general name: general
description: General roles description: General roles

View File

@@ -1,3 +1,2 @@
--- ---
requires_ansible: ">=2.10" requires_ansible: ">=2.10"

View File

@@ -1,5 +1,4 @@
--- ---
argument_specs: argument_specs:
main: main:
short_description: Apt repository short_description: Apt repository

View File

@@ -1,5 +1,4 @@
--- ---
- name: Install dependencies - name: Install dependencies
ansible.builtin.apt: ansible.builtin.apt:
name: name:

View File

@@ -1,5 +1,4 @@
--- ---
- name: Reload caddy - name: Reload caddy
ansible.builtin.systemd: ansible.builtin.systemd:
name: caddy name: caddy

View File

@@ -1,5 +1,4 @@
--- ---
install_packages: install_packages:
- sudo - sudo
- vim - vim

View File

@@ -1,5 +1,4 @@
--- ---
- name: Ensure packages defined in install_packages are installed - name: Ensure packages defined in install_packages are installed
ansible.builtin.apt: ansible.builtin.apt:
name: "{{ install_packages }}" name: "{{ install_packages }}"

View File

@@ -1,5 +1,4 @@
--- ---
- name: Include tasks for apt as package manager - name: Include tasks for apt as package manager
ansible.builtin.include_tasks: apt.yml ansible.builtin.include_tasks: apt.yml
when: ansible_pkg_mgr == 'apt' when: ansible_pkg_mgr == 'apt'

View File

@@ -1,5 +1,4 @@
--- ---
- name: Ensure packages defined in install_packages are installed - name: Ensure packages defined in install_packages are installed
ansible.builtin.package: ansible.builtin.package:
name: "{{ install_packages }}" name: "{{ install_packages }}"

View File

@@ -1,4 +1,3 @@
--- ---
sshd_x11_forwarding: false sshd_x11_forwarding: false
sshd_password_auth: false sshd_password_auth: false

View File

@@ -1,5 +1,4 @@
--- ---
- name: Ensure sshd config options set correctly - name: Ensure sshd config options set correctly
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/ssh/sshd_config path: /etc/ssh/sshd_config

View File

@@ -1,5 +1,4 @@
--- ---
- name: Ensure sudo is installed - name: Ensure sudo is installed
ansible.builtin.package: ansible.builtin.package:
name: sudo name: sudo

View File

@@ -1,5 +1,4 @@
--- ---
vhost_state: present vhost_state: present
vhost_type: "{{ vhost_state }}" vhost_type: "{{ vhost_state }}"
vhost_domains: [] vhost_domains: []

View File

@@ -1,5 +1,4 @@
--- ---
dependencies: dependencies:
- role: caddy - role: caddy
when: vhost_web_server == 'caddy' when: vhost_web_server == 'caddy'

View File

@@ -1,5 +1,4 @@
--- ---
- name: Add caddy vhost config - name: Add caddy vhost config
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: /etc/caddy/Caddyfile path: /etc/caddy/Caddyfile

View File

@@ -1,5 +1,4 @@
--- ---
- name: Fail if vhost_redirect_target is a relative path and vhost_redirect_preserve_path is true - name: Fail if vhost_redirect_target is a relative path and vhost_redirect_preserve_path is true
ansible.builtin.fail: ansible.builtin.fail:
msg: vhost_redirect_target must be an absolute url or absolute path if vhost_redirect_preserve_path is true msg: vhost_redirect_target must be an absolute url or absolute path if vhost_redirect_preserve_path is true