-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ac6ee99
Showing
33 changed files
with
1,027 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
exclude_paths: | ||
- molecule/default/prepare.yml | ||
- molecule/default/converge.yml | ||
- molecule/default/verify.yml | ||
- molecule/default/collections.yml | ||
- .tox | ||
- .cache | ||
- .github | ||
- requirements.yml | ||
|
||
skip_list: | ||
- yaml[truthy] | ||
|
||
enable_list: | ||
- name[prefix] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
github: adfinis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help me improve | ||
|
||
--- | ||
|
||
# Describe the bug | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
## Playbook | ||
|
||
Please paste the playbook you are using. (Consider `requirements.yml` and | ||
optionally the command you've invoked.) | ||
|
||
```yaml | ||
--- | ||
YOUR PLAYBOOK HERE | ||
``` | ||
|
||
## Output | ||
|
||
Show at least the error, possible related output, maybe just all the output. | ||
|
||
## Environment | ||
|
||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`) | ||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`) | ||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
# Proposed feature | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
## Rationale | ||
|
||
Why is this feature required? | ||
|
||
## Additional context | ||
|
||
Add any other context about the feature request here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
repository: | ||
description: Install and configure [Bareos](https://www.bareos.com/) Console (bconsole) on your system. | ||
homepage: https://adfinis.com/ | ||
topics: backup, bareos, infrastructure, linux, storage, system, tools, ansible, molecule, tox, playbook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
|
||
name: Release to Ansible Galaxy | ||
|
||
on: | ||
release: | ||
types: [created, edited, published, released] | ||
jobs: | ||
release: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: galaxy | ||
uses: robertdebock/[email protected] | ||
with: | ||
galaxy_api_key: ${{ secrets.galaxy_api_key }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
|
||
name: Ansible Molecule | ||
|
||
on: | ||
push: | ||
tags_ignore: | ||
- '*' | ||
pull_request: | ||
schedule: | ||
- cron: '3 2 2 * *' | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: ansible-lint | ||
uses: ansible-community/ansible-lint-action@main | ||
test: | ||
needs: | ||
- lint | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- image: "debian" | ||
tag: "latest" | ||
- image: "debian" | ||
tag: "bullseye" | ||
- image: "debian" | ||
tag: "buster" | ||
- image: "enterpriselinux" | ||
tag: "7" | ||
- image: "enterpriselinux" | ||
tag: "8" | ||
- image: "enterpriselinux" | ||
tag: "latest" | ||
- image: "fedora" | ||
tag: "37" | ||
- image: "fedora" | ||
tag: "38" | ||
- image: "opensuse" | ||
tag: "latest" | ||
- image: "ubuntu" | ||
tag: "latest" | ||
- image: "ubuntu" | ||
tag: "focal" | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: "${{ github.repository }}" | ||
- name: disable apparmor for mysql | ||
run: sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/ | ||
- name: parse apparmor for mysql | ||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld | ||
- name: molecule | ||
uses: robertdebock/[email protected] | ||
with: | ||
image: ${{ matrix.config.image }} | ||
tag: ${{ matrix.config.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
|
||
on: | ||
- push | ||
|
||
name: Ansible Graphviz | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ${{ github.repository }} | ||
- name: create png | ||
uses: robertdebock/[email protected] | ||
- name: Commit files | ||
run: | | ||
cd ${{ github.repository }} | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git add requirements.dot requirements.png | ||
git commit -m "Add generated files" | ||
- name: save to png branch | ||
uses: ad-m/github-push-action@master | ||
with: | ||
directory: ${{ github.repository }} | ||
force: true | ||
branch: png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
# | ||
# Ansible managed | ||
# | ||
|
||
name: "TODO 2 Issue" | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- uses: "actions/checkout@master" | ||
- name: "TODO to Issue" | ||
uses: "alstr/[email protected]" | ||
id: "todo" | ||
with: | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.molecule | ||
*.log | ||
*.swp | ||
.tox | ||
.cache | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
image: "robertdebock/github-action-molecule:6.0.0" | ||
|
||
variables: | ||
PY_COLORS: 1 | ||
|
||
molecule: | ||
script: | ||
- if [ -f tox.ini ] ; then tox ; fi | ||
- if [ ! -f tox.ini ] ; then molecule test ; fi | ||
rules: | ||
- if: $CI_COMMIT_REF_NAME == "master" | ||
parallel: | ||
matrix: | ||
- image: "debian" | ||
tag: "latest" | ||
- image: "debian" | ||
tag: "bullseye" | ||
- image: "debian" | ||
tag: "buster" | ||
- image: "enterpriselinux" | ||
tag: "7" | ||
- image: "enterpriselinux" | ||
tag: "8" | ||
- image: "enterpriselinux" | ||
tag: "latest" | ||
- image: "fedora" | ||
tag: "37" | ||
- image: "fedora" | ||
tag: "38" | ||
- image: "opensuse" | ||
tag: "latest" | ||
- image: "ubuntu" | ||
tag: "latest" | ||
- image: "ubuntu" | ||
tag: "focal" | ||
|
||
galaxy: | ||
script: | ||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} adfinis ${CI_PROJECT_NAME} | ||
rules: | ||
- if: $CI_COMMIT_TAG != null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
|
||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.32.0 | ||
hooks: | ||
- id: yamllint | ||
args: | ||
- -c=.yamllint | ||
|
||
- repo: https://github.com/robertdebock/pre-commit | ||
rev: v1.5.2 | ||
hooks: | ||
- id: ansible_role_find_unused_variable | ||
- id: ansible_role_find_empty_files | ||
- id: ansible_role_find_empty_directories | ||
- id: ansible_role_find_undefined_handlers | ||
- id: ansible_role_find_unquoted_values | ||
- id: ansible_role_find_horizontal_when |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
braces: | ||
max-spaces-inside: 1 | ||
level: error | ||
brackets: | ||
max-spaces-inside: 1 | ||
level: error | ||
line-length: disable | ||
truthy: disable | ||
|
||
ignore: | | ||
.tox/ | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behaviour that contributes to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behaviour by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable behaviour and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behaviour. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviours that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
Oops, something went wrong.