mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-12-21 19:07:08 +01:00
[#46] refactoring
This commit is contained in:
parent
747c7f30de
commit
52fc713404
@ -4,9 +4,20 @@ service:
|
||||
{{ cookiecutter.app_name }}:
|
||||
enabled: true
|
||||
running: true
|
||||
|
||||
process:
|
||||
{{ cookiecutter.exec_name }}:
|
||||
running: true
|
||||
|
||||
user:
|
||||
exampleuser:
|
||||
exists: true
|
||||
groups:
|
||||
- examplegroup
|
||||
shell: /usr/sbin/nologin
|
||||
group:
|
||||
examplegroup:
|
||||
exists: true
|
||||
{% endif %}
|
||||
file:
|
||||
/opt/{{ cookiecutter.app_name }}:
|
||||
@ -23,17 +34,6 @@ file:
|
||||
{% endif %}
|
||||
exists: true
|
||||
filetype: directory
|
||||
{% if cookiecutter.has_service == 'True' %}
|
||||
user:
|
||||
exampleuser:
|
||||
exists: true
|
||||
groups:
|
||||
- examplegroup
|
||||
shell: /usr/sbin/nologin
|
||||
group:
|
||||
examplegroup:
|
||||
exists: true
|
||||
{% endif %}
|
||||
|
||||
## Check if ports are really exposed
|
||||
# port:
|
||||
|
Loading…
Reference in New Issue
Block a user