remove role_version

This commit is contained in:
2024-04-22 12:18:28 +02:00
parent 05a21ce0ca
commit baa1075488
2 changed files with 3 additions and 2 deletions

View File

@@ -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
Requirements
------------
@@ -16,7 +17,6 @@ Role Variables
--------------
myrole_name - name of role
role_version - version of calling role
Dependencies
@@ -31,7 +31,7 @@ Not intended, but add this in meta/main.yml of your roles:
```yaml
dependencies:
- { role: tco.changelog, role_version: 1.0, myrole_name: CHANGEME }
- { role: tco.changelog, myrole_name: CHANGEME }
```

View File

@@ -16,3 +16,4 @@
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 }}"
tags: changelog
name: "[changelog] : add history"