Skip to content

Commit 9359da6

Browse files
committed
Generated Ansible files
1 parent fba1206 commit 9359da6

File tree

10 files changed

+35
-33
lines changed

10 files changed

+35
-33
lines changed

.ansible-lint

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# Ansible managed
44
#
55
exclude_paths:
6-
- ./meta/preferences.yml
7-
- ./molecule/default/prepare.yml
8-
- ./molecule/default/converge.yml
9-
- ./molecule/default/verify.yml
10-
- ./molecule/default/collections.yml
11-
- ./.tox
12-
- ./.cache
13-
- ./.github
14-
- ./requirements.yml
6+
- meta/preferences.yml
7+
- molecule/default/prepare.yml
8+
- molecule/default/converge.yml
9+
- molecule/default/verify.yml
10+
- molecule/default/collections.yml
11+
- .tox
12+
- .cache
13+
- .github
14+
- requirements.yml
1515

1616
skip_list:
1717
- yaml[truthy]

.github/workflows/galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- name: galaxy
16-
uses: buluma/[email protected]
16+
# uses: buluma/[email protected] # TODO: rebuild action
17+
uses: robertdebock/[email protected]
1718
with:
1819
galaxy_api_key: ${{ secrets.galaxy_api_key }}
19-
git_branch: master

.github/workflows/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-20.04
3030
steps:
3131
- name: checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
- name: ansible-lint
3434
uses: ansible-community/ansible-lint-action@main
3535
test:
@@ -48,8 +48,8 @@ jobs:
4848
tag: "8"
4949
- image: "debian-systemd"
5050
tag: "latest"
51-
- image: "fedora-systemd"
52-
tag: "36"
51+
- image: "debian-systemd"
52+
tag: "bullseye"
5353
- image: "fedora-systemd"
5454
tag: "37"
5555
- image: "fedora-systemd"
@@ -68,15 +68,15 @@ jobs:
6868
tag: "latest"
6969
steps:
7070
- name: checkout
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@v4
7272
with:
7373
path: "${{ github.repository }}"
7474
- name: disable apparmor for mysql
7575
run: sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
7676
- name: parse apparmor for mysql
7777
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
7878
- name: molecule
79-
uses: buluma/[email protected].7
79+
uses: buluma/[email protected].9
8080
with:
8181
image: ${{ matrix.config.image }}
8282
tag: ${{ matrix.config.tag }}

.github/workflows/requirements2png.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
#
55

66
on:
7-
- push
8-
7+
push:
8+
paths:
9+
- '.github/workflows/requirements2png.yml'
910
name: Ansible Graphviz
1011

1112
jobs:
@@ -15,11 +16,11 @@ jobs:
1516
contents: write
1617
steps:
1718
- name: checkout
18-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
1920
with:
2021
path: ${{ github.repository }}
2122
- name: create png
22-
uses: buluma/[email protected] # TODO: Update action
23+
uses: buluma/[email protected] # TODO: Update action
2324
- name: Commit files
2425
run: |
2526
cd ${{ github.repository }}

.github/workflows/todo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: "actions/checkout@master"
1616
- name: "TODO to Issue"
17-
uses: "alstr/[email protected]" # TODO: Update buluma/[email protected] @buluma
17+
uses: "alstr/[email protected]" # TODO: Update buluma/[email protected] @buluma
1818
id: "todo"
1919
with:
2020
TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
image: "buluma/github-action-molecule:5.0.7"
2+
image: "buluma/github-action-molecule:5.0.9"
33

44
variables:
55
PY_COLORS: 1
66

77
molecule:
88
script:
9-
- if [ -f tox.ini ] ; then tox ; fi
10-
- if [ ! -f tox.ini ] ; then molecule test ; fi
9+
- molecule test
1110
rules:
1211
- if: $CI_COMMIT_REF_NAME == "master"
12+
allow_failure: true
1313
parallel:
1414
matrix:
1515
- image: "alpine-openrc"
@@ -20,8 +20,8 @@ molecule:
2020
tag: "8"
2121
- image: "debian-systemd"
2222
tag: "latest"
23-
- image: "fedora-systemd"
24-
tag: "36"
23+
- image: "debian-systemd"
24+
tag: "bullseye"
2525
- image: "fedora-systemd"
2626
tag: "37"
2727
- image: "fedora-systemd"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.3.0
4+
rev: v4.4.0
55
hooks:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
88
- id: check-added-large-files
99

1010
- repo: https://github.com/adrienverge/yamllint
11-
rev: v1.29.0
11+
rev: v1.32.0
1212
hooks:
1313
- id: yamllint
1414
args: [-c=.yamllint]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Install and configure terraform on your system.
44

5-
|GitHub|GitLab|Quality|Downloads|Version|Issues|Pull Requests|
6-
|------|------|-------|---------|-------|------|-------------|
7-
|[![github](https://github.com/buluma/ansible-role-terraform/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-terraform/actions)|[![gitlab](https://gitlab.com/shadowwalker/ansible-role-terraform/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-terraform)|[![quality](https://img.shields.io/ansible/quality/57959)](https://galaxy.ansible.com/buluma/terraform)|[![downloads](https://img.shields.io/ansible/role/d/57959)](https://galaxy.ansible.com/buluma/terraform)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/pulls/)|
5+
|GitHub|GitLab|Downloads|Version|Issues|Pull Requests|
6+
|------|------|-------|-------|------|-------------|
7+
|[![github](https://github.com/buluma/ansible-role-terraform/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-terraform/actions)|[![gitlab](https://gitlab.com/shadowwalker/ansible-role-terraform/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-terraform)|[![downloads](https://img.shields.io/ansible/role/d/4854)](https://galaxy.ansible.com/buluma/terraform)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-terraform.svg)](https://github.com/buluma/ansible-role-terraform/pulls/)|
88

99
## [Example Playbook](#example-playbook)
1010

molecule/default/molecule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ platforms:
1919
command: /sbin/init
2020
volumes:
2121
- /sys/fs/cgroup:/sys/fs/cgroup:rw
22+
cgroupns_mode: host
2223
privileged: yes
2324
pre_build_image: yes
2425
provisioner:

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
#
44
[tox]
55
minversion = 4.2.4
6-
envlist = py{311}-ansible{5,6,7}
6+
envlist = py3-ansible{6,7,8}
77

88
skipsdist = true
99

1010
[testenv]
1111
deps =
1212
-rrequirements.txt
13-
ansible5: ansible == 5.*
1413
ansible6: ansible == 6.*
1514
ansible7: ansible == 7.*
15+
ansible8: ansible == 8.*
1616
commands = molecule test
1717
setenv =
1818
TOX_ENVNAME={envname}

0 commit comments

Comments
 (0)