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: ``[]``): * ``acme_domain_want_list:`` (Default: ``[]``):
A list of domain you want to enable. Example: A list of domain you want to enable. Example:
```yml ```yml
acme_restart_services: acme_domain_want_list:
- name: 'www.example.com' - 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' owner: 'root'
group: 'root' group: 'root'
mode: '0644' mode: '0644'
notify: systemctl restart acmetool
- name: force systemd to reread configs and start acmetool - name: force systemd to reread configs and start acmetool
ansible.builtin.systemd: ansible.builtin.systemd:
daemon_reload: true daemon_reload: true
name: 'acmetool.service'
state: 'started'
enabled: true

View file

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