-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: Fix CI * chore: Rebranding * fix: Fix tests * docs: Fix status badge * fix: Add requirements.yml
- Loading branch information
Showing
17 changed files
with
215 additions
and
238 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
skip_list: | ||
- '204' | ||
- '201' | ||
- "204" | ||
- "201" |
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 |
---|---|---|
@@ -1,39 +1,18 @@ | ||
--- | ||
name: CI - Linting | ||
|
||
on: | ||
'on': | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: icinga2_master | ||
|
||
# Checkout Adfinis lint-rules | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: adfinis-sygroup/ansible-lint-rules | ||
path: lint-rules | ||
|
||
- name: ansible-lint | ||
uses: ansible/ansible-lint-action@master | ||
with: | ||
targets: icinga2_master | ||
args: "-R -r lint-rules" | ||
override-deps: | | ||
ansible~=2.10 | ||
ansible-lint~=5.0 | ||
- name: yamllint | ||
uses: karancode/yamllint-github-action@v2.0.0 | ||
with: | ||
yamllint_config_filepath: icinga2_master/.testenv/yamllint.yml | ||
yamllint_file_or_dir: icinga2_master | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run ansible-lint | ||
uses: ansible/ansible-lint@main |
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
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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
|
||
- name: icinga2_master reload icinga2 | ||
service: | ||
- name: Icinga2_master reload icinga2 | ||
ansible.builtin.service: | ||
name: icinga2 | ||
state: reloaded |
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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
--- | ||
|
||
dependencies: | ||
- name: 'adfinis-sygroup.icinga2_agent' | ||
- name: adfinis.icinga2_agent | ||
|
||
galaxy_info: | ||
role_name: 'icinga2_master' | ||
author: 'Adfinis SyGroup AG' | ||
description: 'This role is used to configure icinga2 in master mode' | ||
company: 'Adfinis SyGroup AG' | ||
license: 'GNU General Public License v3' | ||
min_ansible_version: '2.0.0' | ||
role_name: icinga2_master | ||
namespace: adfinis | ||
author: Adfinis AG | ||
description: This role is used to configure icinga2 in master mode | ||
company: Adfinis AG | ||
license: GNU General Public License v3 | ||
min_ansible_version: 2.0.0 | ||
platforms: | ||
- name: EL | ||
versions: | ||
- 7 | ||
- "7" | ||
galaxy_tags: | ||
- 'icinga2' | ||
- 'monitoring' | ||
- 'master' | ||
- icinga2 | ||
- monitoring | ||
- master |
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,3 @@ | ||
--- | ||
roles: | ||
- name: adfinis.icinga2_agent |
Oops, something went wrong.