diff --git a/.config/ansible-lint-ignore.txt b/.config/ansible-lint-ignore.txt index 4a95228c..3793a4a1 100644 --- a/.config/ansible-lint-ignore.txt +++ b/.config/ansible-lint-ignore.txt @@ -19,7 +19,6 @@ osmose-frontend.yml name[casing] osmosis.yml name[casing] overpass-api.yml name[casing] peertube.yml name[casing] -phpbb.yml name[casing] polygons.yml name[casing] postgresql.yml name[casing] proxmox-backup.yml name[casing] @@ -327,15 +326,6 @@ roles/overpass-api/tasks/set_up_database.yml risky-file-permissions roles/overpass-api/tasks/web.yml fqcn[action-core] roles/overpass-api/tasks/web.yml name[casing] roles/overpass-api/tasks/web.yml risky-file-permissions -roles/phpbb/handlers/main.yml fqcn[action-core] -roles/phpbb/handlers/main.yml name[casing] -roles/phpbb/handlers/main.yml no-free-form -roles/phpbb/tasks/main.yml deprecated-module -roles/phpbb/tasks/main.yml fqcn[action-core] -roles/phpbb/tasks/main.yml name[casing] -roles/phpbb/tasks/main.yml name[missing] -roles/phpbb/tasks/main.yml no-free-form -roles/phpbb/tasks/main.yml risky-file-permissions roles/polygons/handlers/main.yml fqcn[action-core] roles/polygons/handlers/main.yml name[casing] roles/polygons/handlers/main.yml no-free-form diff --git a/hosts b/hosts index abfb4650..ce2da5e0 100644 --- a/hosts +++ b/hosts @@ -161,9 +161,6 @@ osm146.openstreetmap.fr # for prev.openstreetmap.fr [export-cadastre] cadastre.vm.openstreetmap.fr -[phpbb] -osm139.openstreetmap.fr # for forum.openstreetmap.fr - [geoosm] osm167.openstreetmap.fr diff --git a/phpbb.yml b/phpbb.yml deleted file mode 100644 index 13f4818a..00000000 --- a/phpbb.yml +++ /dev/null @@ -1,5 +0,0 @@ -- name: phpbb configuration - hosts: phpbb - become: yes - roles: - - phpbb diff --git a/roles/phpbb/files/apache.site b/roles/phpbb/files/apache.site deleted file mode 100644 index 9311823c..00000000 --- a/roles/phpbb/files/apache.site +++ /dev/null @@ -1,20 +0,0 @@ - - ServerAdmin webmaster@localhost - - ServerName forum.openstreetmap.fr - ServerAlias dev.forum.openstreetmap.fr - - DocumentRoot /data/project/forum/phpBB3/ - - Options Indexes FollowSymLinks MultiViews - AllowOverride All - Require all granted - - - AccessFileName .htaccess - - LogLevel warn - ErrorLog /var/log/apache2/forum-error.log - CustomLog /var/log/apache2/forum-access.log combined - - diff --git a/roles/phpbb/handlers/main.yml b/roles/phpbb/handlers/main.yml deleted file mode 100644 index 8334e9df..00000000 --- a/roles/phpbb/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: restart apache - service: name=apache2 state=restarted diff --git a/roles/phpbb/tasks/main.yml b/roles/phpbb/tasks/main.yml deleted file mode 100644 index 523d3a0a..00000000 --- a/roles/phpbb/tasks/main.yml +++ /dev/null @@ -1,27 +0,0 @@ -- name: install packages - apt: pkg={{ item }} - with_items: - - apache2 - - mysql-server - -- include: ../../../shared/project-account.yml user=forum - - -# install phpBB3 manually in /data/project/forum/phpBB3 -- name: check if phpBB3 was installed - stat: - path: /data/project/forum/phpBB3 - register: p - -- fail: - msg: "Please install phpBB3 by decompressing a .zip from https://www.phpbb.com/downloads/ in /data/project/forum/" - when: not (p.stat.isdir is defined and p.stat.isdir) - - -- name: copy apache config - copy: src=apache.site dest="/etc/apache2/sites-available/forum.conf" - notify: restart apache - -- name: enable apache site - file: src="/etc/apache2/sites-available/forum.conf" dest="/etc/apache2/sites-enabled/forum.conf" state=link - notify: restart apache