Skip to content

Commit

Permalink
Rocky 94 (#368)
Browse files Browse the repository at this point in the history
* #366 update-fields has moved up a directory

* updates for rocky 9.4

---------

Co-authored-by: Don Sizemore <[email protected]>
  • Loading branch information
donsizemore and Don Sizemore authored Jul 31, 2024
1 parent 06b3b9a commit c1e21f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 3 additions & 3 deletions ec2/ec2-create-instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ BRANCH_DEFAULT="develop"
PEM_DEFAULT=${HOME}
VERBOSE_ARG=""

# rocky linux 9.3 official, us-east-1
#AWS_AMI_DEFAULT='ami-06b7b440778b965d8'
# rocky linux 9.4 official, us-east-1
AWS_AMI_DEFAULT='ami-09fb459fad4613d55'
# let's stick with rocky 8.9 until ITs pass
AWS_AMI_DEFAULT='ami-0408f4c4a072e3fb9'
#AWS_AMI_DEFAULT='ami-0408f4c4a072e3fb9'

usage() {
echo "Usage: $0 -b <branch> -r <repo> -p <pem_path> -g <group_vars> -a <dataverse-ansible branch> -i aws_image -u aws_user -s aws_size -t aws_tag -f aws_security group -e aws_profile -l local_log_path -d -v" 1>&2
Expand Down
4 changes: 2 additions & 2 deletions tasks/custom_metadata_blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

- name: "release case: get develop update-fields.sh from develop"
ansible.builtin.get_url:
url: '{{ dataverse_raw_repo }}/develop/conf/solr/{{ dataverse.solr.version }}/update-fields.sh'
url: '{{ dataverse_raw_repo }}/develop/conf/solr/update-fields.sh'
dest: /tmp/dvinstall/update-fields.sh
mode: 0755
when: dataverse_branch == 'release'

- name: "branch case: get develop update-fields.sh from branch"
ansible.builtin.get_url:
url: '{{ dataverse_raw_repo }}/{{ dataverse_branch }}/conf/solr/{{ dataverse.solr.version }}/update-fields.sh'
url: '{{ dataverse_raw_repo }}/{{ dataverse_branch }}/conf/solr/update-fields.sh'
dest: /tmp/dvinstall/update-fields.sh
mode: 0755
when: dataverse_branch != 'release'
Expand Down
8 changes: 1 addition & 7 deletions tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@

- name: Ansible docker module requires python-docker
ansible.builtin.package:
name: 'python3-docker'
state: latest

- name: pip must update itself
ansible.builtin.pip:
name: pip
executable: pip3
name: ['python3-docker','python3-pip']
state: latest

- name: and docker-compose python package
Expand Down

0 comments on commit c1e21f2

Please sign in to comment.