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
|
- download
|
||||||
when: is_ubuntu
|
when: is_ubuntu
|
||||||
|
|
||||||
- name: Sqlite3 no longer included in another package in ubuntu18
|
- name: SQLite3 no longer included in another package (ubuntu-18)
|
||||||
package:
|
package:
|
||||||
name: php{{ php_version }}-sqlite3
|
name: php{{ php_version }}-sqlite3
|
||||||
when: is_ubuntu_18
|
when: is_ubuntu_18
|
||||||
|
@ -65,9 +65,9 @@
|
||||||
group: root
|
group: root
|
||||||
mode: "{{ item.mode }}"
|
mode: "{{ item.mode }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '010-iiab.conf.j2' , dest: '/etc/{{ apache_config_dir }}/010-iiab.conf', mode: '0755' }
|
- { 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: '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: 'php.ini.j2', dest: '/etc/php.ini', mode: '0644' }
|
||||||
|
|
||||||
# remove symlinks for mpm-event, replace with mpm-prefork
|
# remove symlinks for mpm-event, replace with mpm-prefork
|
||||||
- name: Remove mpm event links (debuntu)
|
- name: Remove mpm event links (debuntu)
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Create http pid dir
|
- name: Create http pid dir /var/run/{{ apache_user }}
|
||||||
file:
|
file:
|
||||||
path: "/var/run/{{ apache_user }}"
|
path: "/var/run/{{ apache_user }}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
@ -126,14 +126,14 @@
|
||||||
name: admin
|
name: admin
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add apache user to admin group
|
- name: Add apache_user {{ apache_user }} to admin group
|
||||||
user:
|
user:
|
||||||
name: "{{ apache_user }}"
|
name: "{{ apache_user }}"
|
||||||
groups: admin
|
groups: admin
|
||||||
state: present
|
state: present
|
||||||
createhome: no
|
createhome: no
|
||||||
|
|
||||||
- name: Create httpd log dir
|
- name: Create httpd log dir /var/log/{{ apache_service }}
|
||||||
file:
|
file:
|
||||||
path: "/var/log/{{ apache_service }}"
|
path: "/var/log/{{ apache_service }}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue