20 lines
582 B
YAML
20 lines
582 B
YAML
---
|
||
# The home-server project produces a multi-purpose setup using Ansible.
|
||
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||
|
||
- name: create tmpfiles
|
||
command: systemd-tmpfiles --create /etc/tmpfiles.d/run_http.conf
|
||
|
||
- name: restart openresty.service
|
||
systemd:
|
||
daemon_reload: true
|
||
name: openresty.service
|
||
state: restarted
|
||
|
||
- name: restart php-fpm.service
|
||
systemd:
|
||
daemon_reload: true
|
||
name: php-fpm.service
|
||
state: restarted
|