Update test-workflow.yaml #30
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: Test | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
ansible-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Script | |
run: | | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 | |
sudo apt update | |
sudo apt install ansible | |
pip3 install openshift pyyaml kubernetes | |
ansible-galaxy collection install kubernetes.core | |
- name: Run Script | |
run: | | |
ansible-playbook |