salt/states/roles/maintain/atheos/init.sls
2022-08-09 09:41:35 -05:00

20 lines
366 B
Text

{%- set os=grains['os'] -%}
atheos-php:
pkg.installed:
- name: php
atheos-php-fpm:
pkg.installed:
- name: php-fpm
service.running:
- name: php-fpm
- enable: true
- watch:
- file: /etc/php/php.ini
/etc/php/php.ini:
file.managed:
- source: salt://roles/maintain/atheos/php.ini
- user: root
- group: root
- mode: 644