forked from Mirrors/cookiecutter-ansible-role
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f33225106e | ||
|
|
665d89beb0 | ||
|
|
4459ae1aa6 | ||
|
|
28fe4678d7 | ||
|
|
57633e39ad | ||
|
|
668d890ce6 | ||
|
|
71711119ea | ||
|
|
cdb741f701 | ||
|
|
fb3253da25 | ||
|
|
0211cfcd29 | ||
|
|
01d41dc596 | ||
|
|
5fd7fc7e1d | ||
|
|
3514236fa0 | ||
|
|
d9964134da | ||
|
|
9a971619a7 | ||
|
|
409e7f8bd2 | ||
|
|
6a760eb1dc | ||
|
|
684428ec80 | ||
|
|
3a93e6734d | ||
|
|
5ad5453892 | ||
|
|
8e1924e9e3 |
1
.github/ISSUE_TEMPLATE/config.yml
vendored
1
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1 +1,2 @@
|
|||||||
|
---
|
||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
|
|||||||
1
.github/auto_assign.yml
vendored
1
.github/auto_assign.yml
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# Set to true to add reviewers to pull requests
|
# Set to true to add reviewers to pull requests
|
||||||
addReviewers: true
|
addReviewers: true
|
||||||
|
|
||||||
|
|||||||
1
.github/stale.yml
vendored
1
.github/stale.yml
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
issues:
|
issues:
|
||||||
# Number of days of inactivity before an issue becomes stale
|
# Number of days of inactivity before an issue becomes stale
|
||||||
daysUntilStale: 90
|
daysUntilStale: 90
|
||||||
|
|||||||
12
.travis.yml
12
.travis.yml
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python: "3.7"
|
python: "3.9"
|
||||||
os: linux
|
os: linux
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
@@ -11,6 +11,12 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
- MOLECULE_DISTRO=debian:stretch-slim
|
- MOLECULE_DISTRO=debian:stretch-slim
|
||||||
- MOLECULE_DISTRO=debian:buster-slim
|
- MOLECULE_DISTRO=debian:buster-slim
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
if: branch = master
|
||||||
|
on_success: change
|
||||||
|
on_failure: always
|
||||||
|
recipients:
|
||||||
|
- desarrollo.benders@idealista.com
|
||||||
|
|||||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -3,9 +3,23 @@ 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
|
||||||
|
## [2.7.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.7.0)
|
||||||
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.6.1...2.7.0)
|
||||||
### Added
|
### 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)
|
||||||
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.6.0...2.6.1)
|
||||||
|
### Changed
|
||||||
|
- *[#73](https://github.com/idealista/cookiecutter-ansible-role/issues/73) Add document start to .yml files* @blalop
|
||||||
|
|
||||||
|
## [2.6.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.6.0)
|
||||||
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.5.1...2.6.0)
|
||||||
|
### Added
|
||||||
|
- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer
|
||||||
### Changed
|
### Changed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
## [2.5.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1)
|
## [2.5.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1)
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
issues:
|
issues:
|
||||||
# Number of days of inactivity before an issue becomes stale
|
# Number of days of inactivity before an issue becomes stale
|
||||||
daysUntilStale: 90
|
daysUntilStale: 90
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
# Installation path
|
# Installation path
|
||||||
{{ cookiecutter.app_name }}_root_path: /opt/{{ cookiecutter.app_name }}
|
{{ cookiecutter.app_name }}_root_path: /opt/{{ cookiecutter.app_name }}
|
||||||
{{ cookiecutter.app_name }}_bin_path: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_root_path {% raw %}}}{% endraw %}/bin"
|
{{ cookiecutter.app_name }}_bin_path: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_root_path {% raw %}}}{% endraw %}/bin"
|
||||||
{{ cookiecutter.app_name }}_skeleton_paths:
|
{{ cookiecutter.app_name }}_skeleton_paths:
|
||||||
- "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_bin_path {% raw %}}}{% endraw %}"
|
- "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_bin_path {% raw %}}}{% endraw %}"
|
||||||
{{ cookiecutter.app_name }}_exec_name: {{ cookiecutter.exec_name }}
|
{{ cookiecutter.app_name }}_exec_name: {{ cookiecutter.exec_name }}
|
||||||
{% if cookiecutter.has_service == 'True' %}
|
{% if cookiecutter.has_service == 'True' %}
|
||||||
@@ -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
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
register: {{ cookiecutter.app_name }}_check
|
register: {{ cookiecutter.app_name }}_check
|
||||||
changed_when: false
|
changed_when: false
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
check_mode: no
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_install
|
- {{ cookiecutter.app_name }}_install
|
||||||
|
|
||||||
|
|||||||
@@ -17,3 +17,9 @@ script:
|
|||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
email:
|
||||||
|
if: branch = main
|
||||||
|
on_success: change
|
||||||
|
on_failure: always
|
||||||
|
recipients:
|
||||||
|
- desarrollo.benders@idealista.com
|
||||||
|
|||||||
Reference in New Issue
Block a user