Adding Ansible installation step
This commit is contained in:
@@ -62,10 +62,15 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-ansible-
|
||||
# Install Ansible
|
||||
- name: Install Ansible & Dependencies
|
||||
uses: https://github.com/mattjamesaus/setup-ansible@v1.0.1
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
version: "11.1.0"
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install Ansible
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
pip3 install ansible
|
||||
# Install Galaxy Collections
|
||||
- name: Install Galaxy Collections
|
||||
if: steps.cache-ansible-galaxy-collections.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in New Issue
Block a user