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