Commit 7d73bb16 authored by Blerim Sheqa's avatar Blerim Sheqa

Create initial skeleton for ansible role

parent 147eedf4
.idea/
*.test
*.list
*.sh
*.ini
*.pem
site.yml
\ No newline at end of file
Blerim Sheqa <blerim.sheqa@icinga.com>
# Change Log
# ansible-icinga2
Ansible Role for Icinga 2
# Icinga 2 Role for Ansible
Ansible role to install and configure [Icinga 2](https://www.icinga.com/products/icinga-2/).
## Setup
``` bash
$ ansible-galaxy install icinga.icinga2
```
### Limitations
The role is supported on the following platforms:
* Icinga 2 >= v2.8
* Ubuntu: 14.04, 16.04
* Debian: 8,9
* CeontOS/RHEL: 6,7
Other operating systems or versions may work but have not been tested.
## Development
A roadmap of this project is located at https://github.com/Icinga/ansible-icinga2/milestones. Please consider this
roadmap when you start contributing to the project.
## Release Notes
When releasing new versions we refer to [SemVer 1.0.0](http://semver.org/spec/v1.0.0.html) for version numbers. All steps required when creating a new
release are described in [RELEASE.md](RELEASE.md)
See also [CHANGELOG.md](CHANGELOG.md)
## Authors
[AUTHORS](AUTHORS) is generated on each release.
\ No newline at end of file
# Release Workflow
Before submitting a new release, make sure all relevant pull requests and local branches have been merged to the `master`
branch. All tests must pass before a release is tagged.
## 1. AUTHORS
Update the [AUTHORS](AUTHORS) and [.mailmap](.mailmap) file
``` bash
git checkout master
git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
git commit -am "Update AUTHORS"
```
## 2. Changelog
Install [github-changelog-generator](https://github.com/skywinder/github-changelog-generator)
```bash
gem install github_changelog_generator
```
Generate [CHANGELOG.md](CHANGELOG.md)
```bash
github_changelog_generator -t <github-access-token> --future-release=v1.0.0
```
## 3. Git Tag
Commit all changes to the `master` branch
``` bash
git commit -v -a -m "Release version <VERSION>"
git push
```
Tag the release
``` bash
git tag -m "Version <VERSION>" v<VERSION>
```
Push tags
``` bash
git push --tags
```
## Ansible Galaxy
The role is uploaded automatically to [Ansible Galaxy](https://galaxy.ansible.com/).
\ No newline at end of file
---
# defaults file for icinga2
\ No newline at end of file
---
# handlers file for icinga2
\ No newline at end of file
galaxy_info:
author: "Icinga Development Team <info@icinga.com>"
description: "Install and configure Icinga 2"
company: "Icinga GmbH"
license: "license (Apache)"
min_ansible_version: 2.3.2
platforms:
- name: EL
versions:
- 6
- 7
- name: Debian
versions:
- 8
- 9
- name: Ubuntu
- 14.04
- 18.04
categories:
- system
galaxy_tags:
- monitoring
- icinga
- icinga2
dependencies: []
\ No newline at end of file
---
# tasks file for icinga2
\ No newline at end of file
---
- hosts: localhost
remote_user: root
roles:
- icinga2
\ No newline at end of file
---
# vars file for icinga2
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment