Skip to content

Commit

Permalink
#328 final clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Sizemore committed Dec 22, 2023
1 parent 8caca9b commit 0e02f42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
9 changes: 1 addition & 8 deletions tasks/aws_cli.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---

#- name: we need awscli on 8
# pip:
# name: awscli
# executable: pip3
# when: (ansible_os_family == "RedHat") and
# (ansible_distribution_major_version) == "8"

- name: just use OS-included binary for now
- name: AWS CLI OS-included binary for now
ansible.builtin.package:
name: awscli
state: latest
Expand Down
28 changes: 0 additions & 28 deletions tasks/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,6 @@
name: '{{ minio.user }}'
group: docker

# S3AccessIT tests will fail without hard-coded AWS credentials

- name: ensure dot dir exists
file:
path: '~{{ dataverse.payara.user }}/.aws'
state: directory
owner: '{{ dataverse.payara.user }}'
group: '{{ dataverse.payara.group }}'
mode: '0700'

- name: place aws credentials
template:
src: aws_credentials.j2
dest: '~{{ dataverse.payara.user }}/.aws/credentials'
owner: '{{ dataverse.payara.user }}'
group: '{{ dataverse.payara.group }}'
mode: '0600'

- name: place aws config
template:
src: aws_config.j2
dest: '~{{ dataverse.payara.user }}/.aws/config'
owner: '{{ dataverse.payara.user }}'
group: '{{ dataverse.payara.group }}'
mode: '0600'

# remove these once #### has been merged.

- name: STORAGE | Import assert.yml
ansible.builtin.import_tasks: minio_assert.yml
run_once: true
Expand Down

0 comments on commit 0e02f42

Please sign in to comment.