Skip to content

user with private keys #67

user with private keys

user with private keys #67

---
name: user with private keys
on:
workflow_dispatch:
workflow_run:
workflows:
- "CI"
types:
- completed
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
defaults:
run:
working-directory: 'ansible-users'
jobs:
debian:
name: "${{ matrix.image }}: ${{ matrix.collection_role }} (ansible ${{ matrix.ansible-version }}, python ${{ matrix.python_version }})"
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'schedule' || github.event.workflow_run.conclusion == 'success' }}
strategy:
fail-fast: false
matrix:
image:
- debian:12
python_version:
- "3.11"
ansible-version:
- "8.5"
scenario:
- private-keys
steps:
- name: check out the codebase.
uses: actions/checkout@v4
with:
path: 'ansible-users'
ref: ${{ github.event.workflow_run.head_branch }}
- name: 🐍 set up python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python_version }}"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: force reinstall of community.docker
run: |
mkdir -p /home/runner/.ansible/collections
ansible-galaxy collection install community.docker --force
- name: test default
run: |
make \
test \
-e TOX_SCENARIO="${{ matrix.scenario }}" \
-e TOX_ANSIBLE="ansible_${{ matrix.ansible-version }}" \
-e DISTRIBUTION="${{ matrix.image }}"