This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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
11 changed files
with
331 additions
and
152 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,48 +1,36 @@ | ||
--- | ||
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: users | ||
matrix: | ||
- MOLECULE_DISTRO: centos7 | ||
- MOLECULE_DISTRO: centos6 | ||
- MOLECULE_DISTRO: ubuntu1804 | ||
- MOLECULE_DISTRO: debian9 | ||
- MOLECULE_DISTRO: debian10 | ||
- MOLECULE_DISTRO: fedora29 | ||
|
||
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,54 @@ | ||
# 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.4.1 | ||
|
||
### Changed | ||
|
||
- update min ansible version to 2.8 | ||
- moved changelog from readme | ||
- travis file has been updated | ||
- Documentation has been improved | ||
- change var `users_host_vars` to `users_list_host` | ||
- change var `users_group_vars` to `users_list_group` | ||
|
||
### Added | ||
|
||
- molecule testing | ||
|
||
## 1.4.0 | ||
|
||
### Removed | ||
|
||
- remove become in Windows | ||
|
||
## 1.3.0 | ||
|
||
### Added | ||
|
||
- add support for users on group and host vars layer | ||
- add support no log when password or key then aktive no log | ||
|
||
## 1.2.0 | ||
|
||
### Fixed | ||
|
||
- fix lint | ||
|
||
### Added | ||
|
||
- new strucktur | ||
|
||
## 1.1 | ||
|
||
### Added | ||
|
||
- add windows support | ||
|
||
## 1.0.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
--- | ||
|
||
galaxy_info: | ||
author: arillso | ||
description: This is an Ansible role which users and user's authorized keys manages on Linux and Windows. | ||
description: Role to manage users on Linux and Windows. | ||
license: MIT | ||
min_ansible_version: 2 | ||
min_ansible_version: 2.9 | ||
platforms: | ||
- name: Debian | ||
versions: | ||
- wheezy | ||
- jessie | ||
- stretch | ||
- name: Ubuntu | ||
versions: | ||
- trusty | ||
- xenial | ||
- name: EL | ||
versions: | ||
- 6 | ||
- 7 | ||
- name: Fedora | ||
versions: | ||
- 29 | ||
- name: Ubuntu | ||
versions: | ||
- bionic | ||
- cosmic | ||
- name: Debian | ||
versions: | ||
- jessie | ||
- stretch | ||
- buster | ||
- name: Windows | ||
versions: | ||
- all | ||
|
||
galaxy_tags: | ||
- system | ||
- users | ||
- user |
Oops, something went wrong.