Skip to content

remove uid and gid for docker user #38

remove uid and gid for docker user

remove uid and gid for docker user #38

Workflow file for this run

name: "ansible-telegraf"
on:
push:
paths:
- 'defaults/**'
- 'files/**'
- 'handlers/**'
- 'meta/**'
- 'molecule/**'
- 'tasks/**'
- 'templates/**'
- '.github/workflows/telegraf.yml'
pull_request:
paths:
- 'defaults/**'
- 'files/**'
- 'handlers/**'
- 'meta/**'
- 'molecule/**'
- 'tasks/**'
- 'templates/**'
- '.github/workflows/telegraf.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
molecule_distro:
- container: centos8
image: geerlingguy/docker-centos8-ansible:latest
- container: centos7
image: geerlingguy/docker-centos7-ansible:latest
- container: ubuntu2004
image: geerlingguy/docker-ubuntu2004-ansible:latest
- container: ubuntu1804
image: geerlingguy/docker-ubuntu1804-ansible:latest
- container: ubuntu1604
image: geerlingguy/docker-ubuntu1604-ansible:latest
- container: debian9
image: geerlingguy/docker-debian9-ansible:latest
- container: debian8
image: geerlingguy/docker-debian8-ansible:latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
#curl -so requirements.txt 'https://raw.githubusercontent.com/dj-wasabi/dj-wasabi-release/main/requirements.txt'
#pip install -r requirements.txt
python -m pip install ansible-core==2.11.6
python -m pip install ansible-lint==5.3.2
python -m pip install docker==5.0.3
python -m pip install molecule==3.4.1
python -m pip install molecule-docker==1.1.0
python -m pip install netaddr==0.8.0
python -m pip install pytest-testinfra==6.1.0
python -m pip install ipaddr==2.2.0
python -m pip install ipaddress==1.0.23
- name: Run role tests
run: >-
MY_MOLECULE_CONTAINER=${{ matrix.molecule_distro.container }}
MY_MOLECULE_IMAGE=${{ matrix.molecule_distro.image }}
MY_MOLECULE_GROUP=${{ matrix.molecule_distro.group }}
MY_MOLECULE_DOCKER_COMMAND=${{ matrix.molecule_distro.command }}
molecule test