remove role_version
This commit is contained in:
@@ -7,6 +7,7 @@ Will insert date, name of calling role, version of calling role in /etc/history
|
|||||||
|
|
||||||
Should be included as dependent of others roles
|
Should be included as dependent of others roles
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
@@ -16,7 +17,6 @@ Role Variables
|
|||||||
--------------
|
--------------
|
||||||
|
|
||||||
myrole_name - name of role
|
myrole_name - name of role
|
||||||
role_version - version of calling role
|
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
@@ -31,7 +31,7 @@ Not intended, but add this in meta/main.yml of your roles:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: tco.changelog, role_version: 1.0, myrole_name: CHANGEME }
|
- { role: tco.changelog, myrole_name: CHANGEME }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,3 +16,4 @@
|
|||||||
create: true
|
create: true
|
||||||
line: "{{ '%Y-%m-%d' | strftime }} {{ myrole_name }} {{ repo_info.after | regex_search( '[a-zA-Z0-9]{7}') }} https://infra.opendoor.fr/git/tom/{{ myrole_name }}/commit/{{ repo_info.after }}"
|
line: "{{ '%Y-%m-%d' | strftime }} {{ myrole_name }} {{ repo_info.after | regex_search( '[a-zA-Z0-9]{7}') }} https://infra.opendoor.fr/git/tom/{{ myrole_name }}/commit/{{ repo_info.after }}"
|
||||||
tags: changelog
|
tags: changelog
|
||||||
|
name: "[changelog] : add history"
|
||||||
|
|||||||
Reference in New Issue
Block a user