update to use non-deprecated modules and to use python3 #185
Workflow file for this run
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: azure-ansible | |
# Run this workflow only on pushes | |
# to the cloud_AWS/ansible directory | |
on: | |
push: | |
paths: 'cloud_Azure/ansible/**' | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
# Static Analysis of the Ansible role and its code | |
# Stuff like linters, etc. | |
static-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: (HELPER) Checkout Code | |
uses: actions/checkout@v2 | |
# TODO(lwolanin) reenable this before making any changes to azure ansible scripts | |
# this was commented becuse failed unexpectedly when no changes to azure ansible were made | |
# - name: Lint Role | |
# uses: github/super-linter@v3 | |
# env: | |
# VALIDATE_ALL_CODEBASE: false | |
# VALIDATE_ANSIBLE: true | |
# ANSIBLE_DIRECTORY: /cloud_Azure/ansible/roles/kentik_az | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |