-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
18 changed files
with
1,126 additions
and
396 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,33 @@ | ||
--- | ||
language: python | ||
python: "2.7" | ||
services: docker | ||
|
||
# Use the new container infrastructure | ||
sudo: false | ||
|
||
# Install ansible | ||
addons: | ||
apt: | ||
packages: | ||
- python-pip | ||
env: | ||
global: | ||
- ROLE_NAME: sshd | ||
matrix: | ||
- MOLECULE_DISTRO: centos6 | ||
- MOLECULE_DISTRO: ubuntu1804 | ||
- 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,56 @@ | ||
# 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/). | ||
|
||
## 2.0.0 | ||
|
||
### Changed | ||
|
||
- Refactoring role | ||
|
||
### 1.6.0 | ||
|
||
### Added | ||
|
||
- added option to enable sshd X11Forwarding | ||
|
||
### 1.5.0 | ||
|
||
### Added | ||
|
||
- add ssh_ciphers | ||
|
||
### 1.4.0 | ||
|
||
### Added | ||
|
||
- update loop_vars | ||
|
||
### 1.3.0 | ||
|
||
### Added | ||
|
||
- new travis check | ||
- syntax clean | ||
|
||
### 1.2.0 | ||
|
||
### Added | ||
|
||
- rename role name | ||
- update meta | ||
|
||
### 1.1.0 | ||
|
||
### Added | ||
|
||
- add option when no password set by login | ||
- add restart sshd by port change | ||
- default value when ansible_ssh_port not set | ||
|
||
### 1.0 | ||
|
||
### Added | ||
|
||
- Initial 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
Oops, something went wrong.