forked from arillso/ansible.logrotate
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
c378d2e
commit 62498ca
Showing
15 changed files
with
239 additions
and
121 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,45 +1,35 @@ | ||
--- | ||
language: python | ||
python: "2.7" | ||
|
||
# Use the new container infrastructure | ||
sudo: false | ||
|
||
# Install ansible | ||
addons: | ||
apt: | ||
packages: | ||
- python-pip | ||
services: docker | ||
|
||
env: | ||
global: | ||
- ROLE_NAME: logrotate | ||
matrix: | ||
- MOLECULE_DISTRO: centos7 | ||
- MOLECULE_DISTRO: centos6 | ||
- MOLECULE_DISTRO: ubuntu1804 | ||
- MOLECULE_DISTRO: debian9 | ||
- MOLECULE_DISTRO: debian10 | ||
|
||
install: | ||
# Install ansible | ||
- pip install ansible | ||
|
||
# Install ansible-lint | ||
- pip install ansible-lint | ||
|
||
# Install yamllint | ||
- pip install yamllint | ||
- pip install molecule docker | ||
|
||
# Install tests rules | ||
- git submodule add https://github.com/arillso/tests tests | ||
- git clone https://github.com/arillso/tests molecule/default/lint | ||
|
||
before_script: | ||
# Check ansible version | ||
- ansible --version | ||
|
||
# Check ansible-lint version | ||
- ansible-lint --version | ||
|
||
# Check ansible-lint version | ||
- yamllint --version | ||
- cd ../ | ||
- mv ansible.$ROLE_NAME arillso.$ROLE_NAME | ||
- cd arillso.$ROLE_NAME | ||
|
||
script: | ||
# Ansible Lint check | ||
- ansible-lint -R -r tests/ansible-lint/ . | ||
|
||
# YAML Lint check | ||
- yamllint -c tests/yaml-lint/yamllint.yml . | ||
- molecule test | ||
|
||
notifications: | ||
webhooks: https://galaxy.ansible.com/api/v1/notifications/ | ||
webhooks: | ||
urls: | ||
- https://galaxy.ansible.com/api/v1/notifications/ | ||
on_success: always | ||
email: | ||
on_success: never | ||
on_failure: always |
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,57 @@ | ||
# Changelog | ||
|
||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) | ||
and [human-readable changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## 1.5.0 | ||
|
||
### Changed | ||
|
||
- update min ansible version to 2.8 | ||
- changelog to your own file | ||
- travis file has been updated | ||
- Documentation has been improved | ||
|
||
### Added | ||
|
||
- molecule testing | ||
|
||
## 1.4.1 | ||
|
||
### Added | ||
|
||
- add Red Hat Support | ||
|
||
## 1.4 | ||
|
||
### Changed | ||
|
||
- update loop_vars | ||
|
||
### Added | ||
|
||
- add defaults vars | ||
|
||
### 1.3.0 | ||
|
||
### Changed | ||
|
||
- new role tests | ||
|
||
### 1.2.0 | ||
|
||
### Changed | ||
|
||
- rename role | ||
|
||
## 1.1.0 | ||
|
||
### Added | ||
|
||
- add become support | ||
|
||
## 1.0.0 | ||
|
||
### Added | ||
|
||
- inital 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
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
Oops, something went wrong.