diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index ba5543dc5..b7a179634 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -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