Compare commits
2 Commits
a1bc985eb7
...
f6ad6af695
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f6ad6af695 | ||
![]() |
bcc1551244 |
@@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
{% include './templates/header.conf.j2' %}
|
{% include './templates/header.conf.j2' %}
|
||||||
root /var/www/forum.nintendojo.fr/;
|
root /srv/http/forum.nintendojo.fr/;
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
|
|
||||||
client_max_body_size 10M;
|
client_max_body_size 10M;
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.9 KiB |
@@ -22,6 +22,3 @@
|
|||||||
|
|
||||||
- name: Custom part
|
- name: Custom part
|
||||||
ansible.builtin.include_tasks: phpbb_customs.yml
|
ansible.builtin.include_tasks: phpbb_customs.yml
|
||||||
|
|
||||||
- name: Migrate db
|
|
||||||
ansible.builtin.include_tasks: migrate_db.yml
|
|
||||||
|
@@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Migrate db
|
|
||||||
become_user: www-data
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: "/usr/bin/php bin/phpbbcli.php db:migrate"
|
|
||||||
chdir: "{{ phpbb_app_home }}"
|
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
- name: Remove install directory
|
|
||||||
ansible.builtin.file:
|
|
||||||
dest: "{{ phpbb_app_home }}/install"
|
|
||||||
state: absent
|
|
@@ -72,6 +72,6 @@
|
|||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: config.php.j2
|
src: config.php.j2
|
||||||
dest: "{{ phpbb_app_home }}/config.php"
|
dest: "{{ phpbb_app_home }}/config.php"
|
||||||
owner: root
|
owner: www-data
|
||||||
group: www-data
|
group: www-data
|
||||||
mode: "0o640"
|
mode: "0o640"
|
||||||
|
@@ -1,27 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Put logo file
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: files/ndfr_casual.png
|
|
||||||
dest: "{{ phpbb_app_home }}/styles/prosilver/theme/images/ndfr_casual.png"
|
|
||||||
owner: root
|
|
||||||
group: www-data
|
|
||||||
mode: "0o640"
|
|
||||||
|
|
||||||
- name: Replace logo
|
- name: Replace logo
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "{{ phpbb_app_home }}/styles/prosilver/theme/colours.css"
|
path: "{{ phpbb_app_home }}/styles/prosilver/theme/colours.css"
|
||||||
search_string: "background-image: url(\"./images/site_logo.svg\");"
|
search_string: "background-image: url(\"./images/site_logo.svg\");"
|
||||||
line: " background-image: url(\"./images/ndfr_casual.png\");"
|
line: " background-image: url(\"./images/ndfr_casual.png\");"
|
||||||
|
|
||||||
- name: Stretch logo (width)
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: "{{ phpbb_app_home }}/styles/prosilver/theme/common.css"
|
|
||||||
search_string: "width: 149px;"
|
|
||||||
line: " width: 200px;"
|
|
||||||
|
|
||||||
- name: Stretch logo (height)
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: "{{ phpbb_app_home }}/styles/prosilver/theme/common.css"
|
|
||||||
search_string: "height: 52px;"
|
|
||||||
line: " height: 80px;"
|
|
||||||
|
Reference in New Issue
Block a user