Skip to content

Commit d2e70b2

Browse files
authored
fix: resolve Galaxy validation errors in argument_specs (#28)
K3s Role: - Remove invalid 'no_log' field from argument_specs.yml - The 'no_log' parameter is not supported in argument_specs schema - Sensitive data protection should be handled in tasks, not in specs - Fixes 3 validation errors for k3s_token in main, agent, and server_join entry points Fleet Role: - Replace YAML anchor references with explicit descriptions in entry_points - Galaxy validation requires top-level description fields - Fixes 10 validation errors for bundles, clusters, gitrepos, workspaces, and registration_tokens These changes allow both roles to be properly indexed and documented on Ansible Galaxy.
1 parent a974ce1 commit d2e70b2

File tree

3 files changed

+29
-17
lines changed

3 files changed

+29
-17
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ansible Collection: arillso.container
22

3-
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](licence) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-arillso.container-blue.svg?style=popout-square)](https://galaxy.ansible.com/arillso/container)
3+
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](LICENSE) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-arillso.container-blue.svg?style=popout-square)](https://galaxy.ansible.com/arillso/container)
44

55
## Description
66

@@ -39,19 +39,19 @@ collections:
3939
version: ">=0.0.5"
4040
```
4141
42-
## Quick Start
42+
## Requirements
4343
44-
See the [examples](examples/) directory for sample playbooks and inventory configurations.
44+
- Ansible >= 2.15
45+
- Python >= 3.9
4546
46-
For detailed documentation, visit [guide.arillso.io](https://guide.arillso.io).
47+
## Documentation
4748
48-
## License
49-
50-
<!-- markdownlint-disable -->
49+
Full documentation is available at:
50+
<https://guide.arillso.io/collections/arillso/container/>
5151
52-
This project is under the MIT License. See the [LICENSE](licence) file for the full license text.
52+
## License
5353
54-
<!-- markdownlint-enable -->
54+
This project is under the MIT License. See the [LICENSE](LICENSE) file for the full license text.
5555
5656
## Copyright
5757

roles/fleet/meta/argument_specs.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,10 @@ argument_specs:
693693
- "Arillso Team"
694694
options:
695695
fleet_gitrepos:
696-
<<: *gitrepo_options
696+
description: "List of Fleet GitRepos to manage"
697+
type: "list"
698+
elements: "dict"
699+
default: []
697700

698701
# Bundle-specific entry point
699702
bundles:
@@ -704,7 +707,10 @@ argument_specs:
704707
- "Arillso Team"
705708
options:
706709
fleet_bundles:
707-
<<: *bundle_options
710+
description: "List of Fleet Bundles to manage"
711+
type: "list"
712+
elements: "dict"
713+
default: []
708714

709715
# Cluster-specific entry point
710716
clusters:
@@ -715,7 +721,10 @@ argument_specs:
715721
- "Arillso Team"
716722
options:
717723
fleet_clusters:
718-
<<: *cluster_options
724+
description: "List of Fleet Clusters to manage"
725+
type: "list"
726+
elements: "dict"
727+
default: []
719728

720729
# Workspace-specific entry point
721730
workspaces:
@@ -726,7 +735,10 @@ argument_specs:
726735
- "Arillso Team"
727736
options:
728737
fleet_workspaces:
729-
<<: *workspace_options
738+
description: "List of Fleet Workspaces to manage"
739+
type: "list"
740+
elements: "dict"
741+
default: []
730742

731743
# ClusterRegistrationToken-specific entry point
732744
registration_tokens:
@@ -737,4 +749,7 @@ argument_specs:
737749
- "Arillso Team"
738750
options:
739751
fleet_registration_tokens:
740-
<<: *registration_token_options
752+
description: "List of Fleet ClusterRegistrationTokens to manage"
753+
type: "list"
754+
elements: "dict"
755+
default: []

roles/k3s/meta/argument_specs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ argument_specs:
4343
required: false
4444
default: ""
4545
description: "K3s cluster token for authentication"
46-
no_log: true
4746

4847
k3s_bind_address:
4948
type: "str"
@@ -146,7 +145,6 @@ argument_specs:
146145
type: "str"
147146
required: true
148147
description: "K3s cluster token"
149-
no_log: true
150148

151149
k3s_bind_address:
152150
type: "str"
@@ -186,7 +184,6 @@ argument_specs:
186184
type: "str"
187185
required: true
188186
description: "K3s cluster token"
189-
no_log: true
190187

191188
k3s_node_labels:
192189
type: "list"

0 commit comments

Comments
 (0)