resolve #76 create shell user variable
This commit is contained in:
parent
668d890ce6
commit
28fe4678d7
@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
|
|||||||
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
|
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
### Added
|
||||||
|
- *[#76](https://github.com/idealista/cookiecutter-ansible-role/issues/76) Create shell user variable* @emepege
|
||||||
|
|
||||||
## [2.6.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.6.1)
|
## [2.6.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.6.1)
|
||||||
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.6.0...2.6.1)
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.6.0...2.6.1)
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
# Owner
|
# Owner
|
||||||
{{ cookiecutter.app_name }}_user: exampleuser
|
{{ cookiecutter.app_name }}_user: exampleuser
|
||||||
{{ cookiecutter.app_name }}_group: examplegroup
|
{{ cookiecutter.app_name }}_group: examplegroup
|
||||||
|
{{ cookiecutter.app_name }}_user_shell: /usr/sbin/nologin
|
||||||
|
|
||||||
# Maximum number of files limit
|
# Maximum number of files limit
|
||||||
{{ cookiecutter.app_name }}_max_files: 32768
|
{{ cookiecutter.app_name }}_max_files: 32768
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
name: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
name: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
||||||
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
||||||
system: yes
|
system: yes
|
||||||
shell: /usr/sbin/nologin
|
shell: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user_shell {% raw %}}}{% endraw %}"
|
||||||
createhome: no
|
createhome: no
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_install
|
- {{ cookiecutter.app_name }}_install
|
||||||
|
Loading…
Reference in New Issue
Block a user