Skip to content

Commit

Permalink
precommit config
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Mar 31, 2024
1 parent aae54f9 commit 5e4af29
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ jobs:
tag: "bionic"
- image: "docker-molecule-images"
tag: "jammy"
- image: "docker-molecule-images"
tag: "lunar"
steps:
- name: Checkout Role
uses: actions/checkout@v4
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/
become: true
gather_facts: true

pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false

roles:
- role: buluma.python_pip
```
Expand Down Expand Up @@ -96,7 +102,7 @@ This role has been tested on these [container images](https://hub.docker.com/u/b
|[EL](https://hub.docker.com/r/buluma/enterpriselinux)|all|
|[Fedora](https://hub.docker.com/r/buluma/fedora)|all|
|[opensuse](https://hub.docker.com/r/buluma/opensuse)|all|
|[Ubuntu](https://hub.docker.com/r/buluma/ubuntu)|all|
|[Ubuntu](https://hub.docker.com/r/buluma/ubuntu)|focal, bionic, jammy|

The minimum version of Ansible required is 2.12, tests have been done to:

Expand Down
4 changes: 3 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ galaxy_info:
- all
- name: Ubuntu
versions:
- all
- focal
- bionic
- jammy

galaxy_tags:
- python
Expand Down

0 comments on commit 5e4af29

Please sign in to comment.