Skip to content

Commit

Permalink
#328 correct service account variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Sizemore committed Dec 18, 2023
1 parent 098e726 commit 18cf73e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tasks/localstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
- name: place docker-compose.yml template
ansible.builtin.template:
src: localstack-compose.yml.j2
dest: '~{{ dataverse.localstack.user }}/localstack-compose.yml'
dest: '~{{ localstack.user }}/localstack-compose.yml'

- name: ensure DATA_DIR exists
ansible.builtin.file:
path: '{{ localstack.data_dir }}'
state: directory
owner: '{{ dataverse.localstack.user }}'
owner: '{{ localstack.user }}'
mode: 0755

- name: start s3-test container
ansible.builtin.shell: 'docker compose -f localstack-compose.yml up -d'
become: true
become_user: '{{ dataverse.localstack.user }}'
become_user: '{{ localstack.user }}'
args:
chdir: '~{{ dataverse.localstack.user }}'
chdir: '~{{ localstack.user }}'
4 changes: 2 additions & 2 deletions tasks/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ansible.builtin.file:
path: "{{ minio.docker.project_location }}/data"
state: directory
owner: '{{ dataverse.minio.user }}'
owner: '{{ minio.user }}'
mode: "0755"
recurse: true
when:
Expand All @@ -48,7 +48,7 @@
ansible.builtin.template:
src: minio_compose.j2
dest: "{{ minio.docker.project_location }}/minio_compose.yml"
owner: '{{ dataverse.minio.user }}'
owner: '{{ minio.user }}'
mode: "0644"
lstrip_blocks: true
force: true
Expand Down

0 comments on commit 18cf73e

Please sign in to comment.