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:
commit
54cc7cd3ee
4 changed files with 2 additions and 13 deletions
|
@ -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'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
- name: systemctl restart acmetool
|
|
||||||
become: true
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: 'acmetool.service'
|
|
||||||
state: 'restarted'
|
|
||||||
enabled: true
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue