Skip to content

Commit

Permalink
Remove leftovers of old API
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakaner committed May 28, 2024
1 parent 0204814 commit 13c28e6
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions ansible/roles/website/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
- unzip
- zip
- python3-pip
- npm
- nodejs
- wget
- php-pgsql
- php-fpm
- apache2
- python3-pil
Expand Down Expand Up @@ -56,16 +53,6 @@
- 'styles'
- 'locales'

- name: Create database extension PostGIS-Topology and PostGIS-SFCGAL
become: true
become_user: postgres
postgresql_ext:
db: '{{ osm_dbname }}'
name: '{{ item }}'
loop:
- 'postgis_topology'
- 'postgis_sfcgal'

- name: Create system user openrailwaymap to run the API
user:
name: openrailwaymap
Expand All @@ -88,16 +75,6 @@
notify:
- systemd restart orm-api

- name: 'GRANT SELECT ON ALL TABLES IN SCHEMA public TO openrailwaymap'
become: true
become_user: postgres
postgresql_privs:
role: openrailwaymap
type: table
objs: ALL_IN_SCHEMA
privs: 'SELECT'
database: '{{ osm_dbname }}'

- name: Install required packages from APT for API version 2
apt:
name:
Expand Down

0 comments on commit 13c28e6

Please sign in to comment.