diff --git a/tasks/aws_cli.yml b/tasks/aws_cli.yml index b5d840f..c3ec416 100644 --- a/tasks/aws_cli.yml +++ b/tasks/aws_cli.yml @@ -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 diff --git a/tasks/minio.yml b/tasks/minio.yml index 0b64f8e..7e6cd77 100644 --- a/tasks/minio.yml +++ b/tasks/minio.yml @@ -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