mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
363ffad15c
commit
7a1811e1be
1 changed files with 7 additions and 7 deletions
|
@ -31,7 +31,7 @@
|
|||
- download
|
||||
when: is_ubuntu
|
||||
|
||||
- name: Sqlite3 no longer included in another package in ubuntu18
|
||||
- name: SQLite3 no longer included in another package (ubuntu-18)
|
||||
package:
|
||||
name: php{{ php_version }}-sqlite3
|
||||
when: is_ubuntu_18
|
||||
|
@ -65,9 +65,9 @@
|
|||
group: root
|
||||
mode: "{{ item.mode }}"
|
||||
with_items:
|
||||
- { src: '010-iiab.conf.j2' , dest: '/etc/{{ apache_config_dir }}/010-iiab.conf', mode: '0755' }
|
||||
- { src: 'proxy_ajp.conf.j2' , dest: '/etc/{{ apache_config_dir }}/proxy_ajp.conf', mode: '0644' }
|
||||
- { src: 'php.ini.j2' , dest: '/etc/php.ini' , mode: '0644' }
|
||||
- { src: '010-iiab.conf.j2', dest: '/etc/{{ apache_config_dir }}/010-iiab.conf', mode: '0755' }
|
||||
- { src: 'proxy_ajp.conf.j2', dest: '/etc/{{ apache_config_dir }}/proxy_ajp.conf', mode: '0644' }
|
||||
- { src: 'php.ini.j2', dest: '/etc/php.ini', mode: '0644' }
|
||||
|
||||
# remove symlinks for mpm-event, replace with mpm-prefork
|
||||
- name: Remove mpm event links (debuntu)
|
||||
|
@ -113,7 +113,7 @@
|
|||
state: absent
|
||||
when: is_debuntu
|
||||
|
||||
- name: Create http pid dir
|
||||
- name: Create http pid dir /var/run/{{ apache_user }}
|
||||
file:
|
||||
path: "/var/run/{{ apache_user }}"
|
||||
mode: 0755
|
||||
|
@ -126,14 +126,14 @@
|
|||
name: admin
|
||||
state: present
|
||||
|
||||
- name: Add apache user to admin group
|
||||
- name: Add apache_user {{ apache_user }} to admin group
|
||||
user:
|
||||
name: "{{ apache_user }}"
|
||||
groups: admin
|
||||
state: present
|
||||
createhome: no
|
||||
|
||||
- name: Create httpd log dir
|
||||
- name: Create httpd log dir /var/log/{{ apache_service }}
|
||||
file:
|
||||
path: "/var/log/{{ apache_service }}"
|
||||
mode: 0755
|
||||
|
|
Loading…
Add table
Reference in a new issue