Skip to content

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaerlocher authored Sep 6, 2019
2 parents b3aabaf + 44518d6 commit a7d0c89
Show file tree
Hide file tree
Showing 18 changed files with 1,126 additions and 396 deletions.
54 changes: 21 additions & 33 deletions .travis.yml
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
56 changes: 56 additions & 0 deletions CHANGELOG.md
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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2019 Simon Bärlocher
Copyright (c) 2019 Arillso

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
644 changes: 568 additions & 76 deletions README.md

Large diffs are not rendered by default.

Loading

0 comments on commit a7d0c89

Please sign in to comment.