Skip to content

Commit

Permalink
chore(osm2pgsql): Do not use shared project-account anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
lafeychine committed Oct 22, 2023
1 parent f3ddf80 commit 3868e62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions osm2pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
gather_facts: no
become: yes
roles:
- accounts
- osm2pgsql
vars:
accounts__users:
osm2pgsql:
service: true
2 changes: 0 additions & 2 deletions roles/osm2pgsql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
- name: ensure postgresql server is running
service: name=postgresql state=started

- include: ../../../shared/project-account.yml user=osm2pgsql

- name: add sudoers to access osm2pgsql user
copy: src=sudoers dest=/etc/sudoers.d/osm2pgsql-backend mode=0440 owner=root group=root validate='visudo -cf %s'

Expand Down

0 comments on commit 3868e62

Please sign in to comment.