mirror of
https://github.com/roles-ansible/ansible_role_acmetool.git
synced 2024-08-16 12:29:49 +02:00
repair linting
This commit is contained in:
parent
d6f3582926
commit
d56af65fc1
3 changed files with 13 additions and 13 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.cache
|
8
.yamllint
Normal file
8
.yamllint
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
# 160 chars should be enough, but don't fail if a line is longer
|
||||||
|
line-length:
|
||||||
|
max: 160
|
||||||
|
level: warning
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- ansible.builtin.include_tasks: versioncheck.yml
|
- name: Perform optional versionscheck
|
||||||
|
ansible.builtin.include_tasks: versioncheck.yml
|
||||||
when: submodules_versioncheck|bool
|
when: submodules_versioncheck|bool
|
||||||
|
|
||||||
- name: Install acmetool
|
- name: Install acmetool
|
||||||
|
@ -10,16 +11,6 @@
|
||||||
- installation
|
- installation
|
||||||
- acmetool
|
- acmetool
|
||||||
|
|
||||||
# Todo: Reconsider best practice
|
|
||||||
#- name: Remove acmetool snippet for nginx from package installation
|
|
||||||
# ansible.builtin.file:
|
|
||||||
# path: '/etc/nginx/snippets/acmetool.conf'
|
|
||||||
# state: absent
|
|
||||||
# tags:
|
|
||||||
# - installation
|
|
||||||
# - configuration
|
|
||||||
# - acmetool
|
|
||||||
|
|
||||||
- name: Create directory for acmetool response file
|
- name: Create directory for acmetool response file
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: '/var/lib/acme/conf'
|
name: '/var/lib/acme/conf'
|
||||||
|
@ -67,8 +58,8 @@
|
||||||
- name: Reload systemd and enable acmetool timer unit
|
- name: Reload systemd and enable acmetool timer unit
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: 'acmetool.timer'
|
name: 'acmetool.timer'
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
enabled: yes
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
tags:
|
tags:
|
||||||
- operation
|
- operation
|
||||||
|
|
Loading…
Reference in a new issue