Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Version 1.4.5
Browse files Browse the repository at this point in the history
add fix length
  • Loading branch information
sbaerlocher committed Jun 3, 2020
2 parents 96bfbdc + 4738591 commit d772c1b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
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.5

### Fixed

- add check username length

## 1.4.4

### Fixed
Expand Down
7 changes: 3 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
options:
config-file: .yamllint.yml
lint: |
set -e
yamllint -s .
platforms:
- name: instance
image: 'geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest'
Expand Down
6 changes: 6 additions & 0 deletions tasks/distribution/Windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
# tasks file for arillso.users

- name: 'Windows : check username length'
fail:
msg: 'The username can be a maximum of 20 characters long.'
when: 'item.username|length>20'
with_items: '{{ users }}'

- name: 'Windows : adding users'
win_user:
name: '{{ item.username }}'
Expand Down

0 comments on commit d772c1b

Please sign in to comment.