This commit is contained in:
2022-04-26 09:40:15 +02:00
parent 1456280ca8
commit 910975fd17
4 changed files with 15 additions and 2 deletions

View File

@@ -9,6 +9,9 @@
tasks:
- name: import OS variables
include_vars: "{{ ansible_distribution | lower }}.yml"
- name: install apache
package:
name: "{{ apache_package_name }}"
@@ -20,7 +23,7 @@
dest: "{{ apache_config_dir}}/vhost.conf"
mode: 0640
owner: root
group: apache
group: "{{ apache_group_name }}"
notify: restart apache
- name: activate apache