Test installing python manually #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ubuntu | |
on: | |
push: | |
pull_request: | |
jobs: | |
ubuntu: | |
runs-on: ${{ matrix.platforms.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platforms: [ | |
{ os: "ubuntu-24.04", errbit: "False"} | |
] | |
rails_env: [staging, production] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update system packages | |
run: sudo apt-get update -y | |
- name: Install python | |
run: sudo apt-get install -y python3 | |
- name: Install OpenSSH | |
run: sudo apt-get install -y openssh-server | |
- name: Install Ansible | |
run: sudo apt-get install -y ansible | |
- name: Create hosts file | |
run: echo "localhost ansible_connection=local ansible_user=root" > hosts | |
- name: Generate dummy SSH key | |
run: ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa | |
- name: Run CONSUL DEMOCRACY installer | |
run: ansible-playbook -vvv consul.yml -i hosts --extra-vars "env=${{ matrix.rails_env }} domain=localhost errbit=${{ matrix.platforms.errbit }}" |