Updates
This commit is contained in:
parent
b34f00fbb8
commit
6dc11ec24e
12 changed files with 162 additions and 80 deletions
|
@ -1,9 +1,24 @@
|
|||
---
|
||||
- name: reload nginx
|
||||
ansible.builtin.service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
- name: Stop php-fpm-socket
|
||||
ansible.builtin.systemd:
|
||||
name: "php-fpm@{{ phpmyadmin_user }}.socket"
|
||||
state: stopped
|
||||
|
||||
- name: Get certificate
|
||||
ansible.builtin.command:
|
||||
cmd: dehydrated --cron -g
|
||||
- name: Stop php-fpm-service
|
||||
ansible.builtin.systemd:
|
||||
name: "php-fpm@{{ phpmyadmin_user }}.service"
|
||||
state: stopped
|
||||
|
||||
- name: Start php-fpm-socket
|
||||
ansible.builtin.systemd:
|
||||
name: "php-fpm@{{ phpmyadmin_user }}.socket"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
||||
- name: Start php-fpm-service
|
||||
ansible.builtin.systemd:
|
||||
name: "php-fpm@{{ phpmyadmin_user }}.service"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue