lint: remove empty lines after ---
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
Creates users specified in the `users` variable. Syntax:
|
||||
|
||||
```
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
namespace: uumas
|
||||
name: general
|
||||
description: General roles
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
---
|
||||
|
||||
requires_ansible: ">=2.10"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Apt repository
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Install dependencies
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Reload caddy
|
||||
ansible.builtin.systemd:
|
||||
name: caddy
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
install_packages:
|
||||
- sudo
|
||||
- vim
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Ensure packages defined in install_packages are installed
|
||||
ansible.builtin.apt:
|
||||
name: "{{ install_packages }}"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Include tasks for apt as package manager
|
||||
ansible.builtin.include_tasks: apt.yml
|
||||
when: ansible_pkg_mgr == 'apt'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Ensure packages defined in install_packages are installed
|
||||
ansible.builtin.package:
|
||||
name: "{{ install_packages }}"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
|
||||
sshd_x11_forwarding: false
|
||||
sshd_password_auth: false
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Ensure sshd config options set correctly
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Ensure sudo is installed
|
||||
ansible.builtin.package:
|
||||
name: sudo
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
vhost_state: present
|
||||
vhost_type: "{{ vhost_state }}"
|
||||
vhost_domains: []
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
dependencies:
|
||||
- role: caddy
|
||||
when: vhost_web_server == 'caddy'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Add caddy vhost config
|
||||
ansible.builtin.blockinfile:
|
||||
path: /etc/caddy/Caddyfile
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Fail if vhost_redirect_target is a relative path and vhost_redirect_preserve_path is true
|
||||
ansible.builtin.fail:
|
||||
msg: vhost_redirect_target must be an absolute url or absolute path if vhost_redirect_preserve_path is true
|
||||
|
||||
Reference in New Issue
Block a user