Skip to content

Ansible --01- List Inventory #1

Ansible --01- List Inventory

Ansible --01- List Inventory #1

name: Ansible --01- List Inventory
on:
workflow_dispatch:
jobs:
run_playbook:
name: Run Play
runs-on: ubuntu-latest
env:
WORKING_DIR: './ansible'
LINODE_API_TOKEN: ${{ secrets.LINODE_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
- name: Setup Ansible and Dependencies
working-directory: ${{ env.WORKING_DIR }}
run: |
make install
ansible --version
- name: List Inventory
working-directory: ${{ env.WORKING_DIR }}
run: |
ansible-inventory --graph -v