Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Mar 26, 2019
0 parents commit b73fd86
Show file tree
Hide file tree
Showing 42 changed files with 1,418 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Run this role:
2. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Error**
Please show the resulting error. If applicable a snippet of the playbook including the role ran with `-vvv`

**Environment**
- Control node OS: [e.g. Debian 9]
- Control node Ansible version: [e.g. 2.6.2]
- Managed node OS: [e.g. CentOS 7]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
4 changes: 4 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
repository:
description: Install and configure logrotate on your system.
homepage: https://robertdebock.nl/
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
molecule/*/.molecule
*.log
*.swp
93 changes: 93 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
sudo: required
language: python
services: docker

env:
- version=">=2.6,<2.7" distro="alpine-latest"
- version="" distro="alpine-latest"
- version="devel" distro="alpine-latest"
- version=">=2.6,<2.7" distro="alpine-edge"
- version="" distro="alpine-edge"
- version="devel" distro="alpine-edge"
- version=">=2.6,<2.7" distro="archlinux"
- version="" distro="archlinux"
- version="devel" distro="archlinux"
- version=">=2.6,<2.7" distro="centos-6"
- version="" distro="centos-6"
- version="devel" distro="centos-6"
- version=">=2.6,<2.7" distro="centos-latest"
- version="" distro="centos-latest"
- version="devel" distro="centos-latest"
- version=">=2.6,<2.7" distro="debian-latest"
- version="" distro="debian-latest"
- version="devel" distro="debian-latest"
- version=">=2.6,<2.7" distro="debian-stable"
- version="" distro="debian-stable"
- version="devel" distro="debian-stable"
- version=">=2.6,<2.7" distro="debian-unstable"
- version="" distro="debian-unstable"
- version="devel" distro="debian-unstable"
- version=">=2.6,<2.7" distro="fedora-latest"
- version="" distro="fedora-latest"
- version="devel" distro="fedora-latest"
- version=">=2.6,<2.7" distro="fedora-rawhide"
- version="" distro="fedora-rawhide"
- version="devel" distro="fedora-rawhide"
- version=">=2.6,<2.7" distro="opensuse-leap"
- version="" distro="opensuse-leap"
- version="devel" distro="opensuse-leap"
- version=">=2.6,<2.7" distro="ubuntu-rolling"
- version="" distro="ubuntu-rolling"
- version="devel" distro="ubuntu-rolling"
- version=">=2.6,<2.7" distro="ubuntu-latest"
- version="" distro="ubuntu-latest"
- version="devel" distro="ubuntu-latest"
- version=">=2.6,<2.7" distro="ubuntu-devel"
- version="" distro="ubuntu-devel"
- version="devel" distro="ubuntu-devel"

matrix:
allow_failures:
- env: version=">=2.6,<2.7" distro="alpine-edge"
- env: version="" distro="alpine-edge"
- env: version="devel" distro="alpine-edge"
- env: version="devel" distro="alpine-latest"
- env: version="devel" distro="archlinux"
- env: version="devel" distro="centos-6"
- env: version="devel" distro="centos-latest"
- env: version="devel" distro="debian-latest"
- env: version="devel" distro="debian-stable"
- env: version=">=2.6,<2.7" distro="debian-unstable"
- env: version="" distro="debian-unstable"
- env: version="devel" distro="debian-unstable"
- env: version="devel" distro="fedora-latest"
- env: version=">=2.6,<2.7" distro="fedora-rawhide"
- env: version="" distro="fedora-rawhide"
- env: version="devel" distro="fedora-rawhide"
- env: version="devel" distro="opensuse-leap"
- env: version="devel" distro="ubuntu-rolling"
- env: version=">=2.6,<2.7" distro="ubuntu-devel"
- env: version="" distro="ubuntu-devel"
- env: version="devel" distro="ubuntu-devel"
- env: version="devel" distro="ubuntu-latest"

cache:
- pip

install:
- pip install --upgrade pip
- if [ "${version}" != "devel" ] ; then pip install ansible"${version}" ; fi
- if [ "${version}" = "devel" ] ; then pip install git+https://github.com/ansible/ansible.git@devel ; fi
- pip install molecule
- pip install docker

script:
- if [ "${expectation}" = "fail" ] ; then ! molecule test --scenario-name "${distro}" ; else molecule test --scenario-name "${distro}" ; fi

notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
slack:
secure: "# out of `travis encrypt robertdebock:TOKEN-FROM-SLACK`"

email: false
11 changes: 11 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
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 robert@meinit.nl. 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/
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Please contribute!
You can really make a difference by:
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot.
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
Loading

0 comments on commit b73fd86

Please sign in to comment.