From 3868e623097f92739c31b43e23c06901e620495d Mon Sep 17 00:00:00 2001 From: Vincent Lafeychine Date: Sun, 22 Oct 2023 17:25:23 +0200 Subject: [PATCH] chore(osm2pgsql): Do not use shared project-account anymore --- osm2pgsql.yml | 5 +++++ roles/osm2pgsql/tasks/main.yml | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/osm2pgsql.yml b/osm2pgsql.yml index b3823afb..ad31b8cd 100644 --- a/osm2pgsql.yml +++ b/osm2pgsql.yml @@ -3,4 +3,9 @@ gather_facts: no become: yes roles: + - accounts - osm2pgsql + vars: + accounts__users: + osm2pgsql: + service: true diff --git a/roles/osm2pgsql/tasks/main.yml b/roles/osm2pgsql/tasks/main.yml index 543e2300..ac705a33 100644 --- a/roles/osm2pgsql/tasks/main.yml +++ b/roles/osm2pgsql/tasks/main.yml @@ -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'