Add ansible managed header.
This commit is contained in:
parent
8934cd2a36
commit
dce1616e9a
|
|
@ -12,7 +12,7 @@ Example Playbook
|
||||||
|
|
||||||
This example is taken from `molecule/resources/playbook.yml` and is tested on each push, pull request and release.
|
This example is taken from `molecule/resources/playbook.yml` and is tested on each push, pull request and release.
|
||||||
```yaml
|
```yaml
|
||||||
{{ example.content | b64decode | regex_replace('ansible-role-', galaxy_namespace) }}```
|
{{ example.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
|
||||||
|
|
||||||
The machine you are running this on, may need to be prepared, I use this playbook to ensure everything is in place to let the role work.
|
The machine you are running this on, may need to be prepared, I use this playbook to ensure everything is in place to let the role work.
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
{{ ansible_managed | comment }}
|
||||||
|
{% if versionymlstat.stat.exists or exceptionymlstat.stat.exists or preferencesymlstat.stat.exists %}
|
||||||
|
exclude_paths:
|
||||||
|
{% if versionymlstat.stat.exists %}
|
||||||
|
- ./meta/version.yml
|
||||||
|
{% endif %}
|
||||||
|
{% if exceptionymlstat.stat.exists %}
|
||||||
|
- ./meta/exception.yml
|
||||||
|
{% endif %}
|
||||||
|
{% if preferencesymlstat.stat.exists %}
|
||||||
|
- ./meta/preferences.yml
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
{{ ansible_managed | comment }}
|
||||||
dependency:
|
dependency:
|
||||||
name: galaxy
|
name: galaxy
|
||||||
options:
|
options:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
{{ ansible_managed | comment }}
|
||||||
repository:
|
repository:
|
||||||
description: {{ meta.galaxy_info.description }}
|
description: {{ meta.galaxy_info.description }}
|
||||||
homepage: {{ author_website }}
|
homepage: {{ author_website }}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{ ansible_managed | comment }}
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 3.7
|
minversion = 3.7
|
||||||
{% if tox_versions is defined %}
|
{% if tox_versions is defined %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
{{ ansible_managed | comment }}
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue