Adding Ansible installation step
This commit is contained in:
@@ -62,10 +62,15 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-ansible-
|
${{ runner.os }}-ansible-
|
||||||
# Install Ansible
|
# Install Ansible
|
||||||
- name: Install Ansible & Dependencies
|
- name: Set up Python
|
||||||
uses: https://github.com/mattjamesaus/setup-ansible@v1.0.1
|
uses: actions/setup-python@v2
|
||||||
with:
|
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
|
# Install Galaxy Collections
|
||||||
- name: Install Galaxy Collections
|
- name: Install Galaxy Collections
|
||||||
if: steps.cache-ansible-galaxy-collections.outputs.cache-hit != 'true'
|
if: steps.cache-ansible-galaxy-collections.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user