1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-10-27 21:13:29 -04:00 committed by GitHub
parent 2822048ea2
commit 9c464197b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
- name: Install httpd required packages (debian)
- name: Install Apache's required packages (debian)
package:
name: "{{ item }}"
state: present
@ -21,7 +21,7 @@
name: "php{{ php_version }}-sqlite3"
when: is_debian and ansible_distribution_major_version == "9"
- name: Install httpd required packages (ubuntu)
- name: Install Apache's required packages (ubuntu)
package:
name: "{{ item }}"
state: present
@ -37,7 +37,7 @@
name: php{{ php_version }}-sqlite3
when: is_ubuntu_18
- name: Install httpd required packages (redhat)
- name: Install Apache's required packages (redhat)
package:
name: "{{ item }}"
state: present
@ -133,7 +133,7 @@
- /etc/apache2/sites-enabled/000-default.conf
when: is_debuntu
- name: Create http pid dir /var/run/{{ apache_user }}
- name: Create Apache's pid dir /var/run/{{ apache_user }}
file:
path: "/var/run/{{ apache_user }}"
mode: 0755
@ -153,7 +153,7 @@
state: present
createhome: no
- name: Create httpd log dir /var/log/{{ apache_service }}
- name: Create Apache's log dir /var/log/{{ apache_service }}
file:
path: "/var/log/{{ apache_service }}"
mode: 0755
@ -161,7 +161,7 @@
group: "{{ apache_user }}"
state: directory
- name: Enable httpd
- name: Enable systemd service {{ apache_service }}
service:
name: "{{ apache_service }}"
enabled: yes