Skip to content

Commit

Permalink
add defaults for repo meta info
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Oct 10, 2023
1 parent 526bd39 commit 28f3872
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions roles/cvmfs_server_meta_info/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
---
cvmfs_meta:
administrator: "{{ cvmfs_meta_administrator | default('Your Name') }}"
email: "{{ cvmfs_meta_email | default('[email protected]') }}"
organisation: "{{ cvmfs_meta_organisation | default('Your Organisation') }}"
custom: "{{ cvmfs_meta_custom | default({'_comment': 'Put arbitrary structured data here'}) }}"
cvmfs_server_meta:
administrator: "{{ cvmfs_server_meta_administrator | default('Your Name') }}"
email: "{{ cvmfs_server_meta_email | default('[email protected]') }}"
organisation: "{{ cvmfs_server_meta_organisation | default('Your Organisation') }}"
custom: "{{ cvmfs_server_meta_custom | default({'_comment': 'Put arbitrary structured data here'}) }}"

cvmfs_repo_meta:
administrator: "{{ cvmfs_server_meta_administrator | default('Your Name') }}"
email: "{{ cvmfs_server_meta_email | default('[email protected]') }}"
organisation: "{{ cvmfs_server_meta_organisation | default('Your Organisation') }}"
description: "Repository content"
url: "{{ cvmfs_server_meta_website | default('Project website') }}"
recommended-stratum0: "stratum 0 url"

Check failure on line 14 in roles/cvmfs_server_meta_info/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[colons]

Too many spaces after colon
recommended-stratum1s: [ "stratum1 url", "stratum1 url" ]

Check failure on line 15 in roles/cvmfs_server_meta_info/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[brackets]

Too many spaces inside brackets

custom: "{{ cvmfs_server_meta_custom | default({'_comment': 'Put arbitrary structured data here'}) }}"
...

0 comments on commit 28f3872

Please sign in to comment.