1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_acmetool.git synced 2024-08-16 12:29:49 +02:00

Merge pull request #15 from roles-ansible/standalone

update systemd stuff
This commit is contained in:
L3D 2021-09-30 22:43:42 +02:00 committed by GitHub
commit 54cc7cd3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 13 deletions

View file

@ -26,7 +26,7 @@ The ``do1jlr.nginx`` role installs a hook to enable nginx https sites and is run
* ``acme_domain_want_list:`` (Default: ``[]``):
A list of domain you want to enable. Example:
```yml
acme_restart_services:
acme_domain_want_list:
- name: 'www.example.com'
```

View file

@ -1,7 +0,0 @@
---
- name: systemctl restart acmetool
become: true
ansible.builtin.systemd:
name: 'acmetool.service'
state: 'restarted'
enabled: true

View file

@ -7,11 +7,7 @@
owner: 'root'
group: 'root'
mode: '0644'
notify: systemctl restart acmetool
- name: force systemd to reread configs and start acmetool
ansible.builtin.systemd:
daemon_reload: true
name: 'acmetool.service'
state: 'started'
enabled: true

View file

@ -33,5 +33,5 @@ acmetool__restart_hook:
- 'files'
# versionscheck
playbook_version_number: 29 # should be a integer
playbook_version_number: 30 # should be a integer
playbook_version_path: 'do1jlr.role-acmetool.version'