Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Sep 19, 2024
1 parent 7725eb7 commit 610de10
Showing 1 changed file with 10 additions and 23 deletions.
33 changes: 10 additions & 23 deletions .github/workflows/build_vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
build-solaris:
name: Solaris
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
steps:

- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -28,30 +28,17 @@ jobs:
# Use Python2 & Pip To Install On Ubuntu 22.04
# Rather Than The System Packages

#
# - name: Python 2 Get Pip Bootstrap Script
# run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
#
# - name: Python 2 Get Pip
# run: sudo python2 get-pip.py
#
# - name: Install Ansible Using PIP2
# run: pip2 install ansible
- name: Install Python 2
run: sudo apt-get install python2

- name: Download and add the HashiCorp GPG key
run: sudo curl -fsSL https://apt.releases.hashicorp.com/gpg -o /tmp/hashicorp.gpg
- name: Python 2 Get Pip Bootstrap Script
run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py

- name: Add the HashiCorp GPG key to the keyring
run: sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg /tmp/hashicorp.gpg
- name: Python 2 Get Pip
run: sudo python2 get-pip.py

- name: Add the HashiCorp repository
run: sudo echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list

# Update apt package index
# apt-get update

# Install Vagrant
# apt-get install -y vagrant
- name: Install Ansible Using PIP2
run: pip2 install ansible

- name: Update Repos
run: sudo apt-get update
Expand Down Expand Up @@ -113,4 +100,4 @@ jobs:
- name: Run Ansible Playbook
working-directory: ansible
run: ansible-playbook -i playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx -e 'ansible_python_interpreter=/opt/hostedtoolcache/Python/3.10.15/x64/python' --ssh-common-args='-o HostKeyAlgorithms=ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 -o PubKeyAcceptedKeyTypes=ssh-rsa' -u vagrant -b --skip-tags adoptopenjdk,cups playbooks/AdoptOpenJDK_Unix_Playbook/main.yml
run: ansible-playbook -i playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx --ssh-common-args='-o HostKeyAlgorithms=ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 -o PubKeyAcceptedKeyTypes=ssh-rsa' -u vagrant -b --skip-tags adoptopenjdk,cups playbooks/AdoptOpenJDK_Unix_Playbook/main.yml

0 comments on commit 610de10

Please sign in to comment.