This repository was archived by the owner on Mar 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3838
3939 strategy :
4040 matrix :
41- img :
42- - cisagov/docker-debian11-ansible:latest
41+ distro :
42+ - debian11
43+ - debian10
44+ - ubuntu2004
45+
4346 steps :
4447 - name : Check out the repository
4548 uses : actions/checkout@v2.3.4
5962 env :
6063 PY_COLORS : " 1"
6164 ANSIBLE_FORCE_COLOR : " 1"
62- MOLECULE_IMG : ${{ matrix.img }}
65+ MOLECULE_DISTRO : ${{ matrix.distro }}
Original file line number Diff line number Diff line change @@ -15,10 +15,7 @@ galaxy_info:
1515 - buster
1616 - name : Ubuntu
1717 versions :
18- - xenial
19- - bionic
2018 - focal
21- - groovy
2219
2320 galaxy_tags :
2421 - python
Original file line number Diff line number Diff line change 77 name : docker
88platforms :
99 - name : instance
10- image : " ${MOLECULE_IMG:-cisagov/docker- debian11-ansible:latest} "
10+ image : " geerlingguy/docker-${MOLECULE_DISTRO:- debian11} -ansible:latest"
1111 command : ${MOLECULE_DOCKER_COMMAND:-""}
1212 volumes :
1313 - /sys/fs/cgroup:/sys/fs/cgroup:ro
Original file line number Diff line number Diff line change 1414 become : true
1515 with_items :
1616 - python3-pip
17- - python3-venv # needed for nox
17+ - python3-venv # needed for nox
1818
1919- name : Check if pipx is installed
2020 command : " {{ ansible_env.HOME }}/.local/bin/pipx --version"
3030
3131- name : Check if pre-commit is installed
3232 stat :
33- path : " {{ ansible_env.HOME }}/.local/pipx/venvs /pre-commit"
33+ path : " {{ ansible_env.HOME }}/.local/bin /pre-commit"
3434 register : pre_commit_folder_check
3535
3636- name : Install pre-commit
You can’t perform that action at this time.
0 commit comments