Make Notarius configuration ownership configurable
This commit is contained in:
17
README.md
17
README.md
@@ -16,6 +16,10 @@ notarius_manage_build_dependencies: true
|
||||
notarius_go_snap_channel: 1.26/stable
|
||||
notarius_go_binary: /snap/bin/go
|
||||
notarius_config_path: /usr/local/etc/notarius/config.yml
|
||||
notarius_config_owner: root
|
||||
notarius_config_group: root
|
||||
notarius_config_directory_mode: "0755"
|
||||
notarius_config_file_mode: "0644"
|
||||
notarius_config_version: 4
|
||||
notarius_promptkit_profile_dir: null
|
||||
notarius_promptkit_profile_file: null
|
||||
@@ -43,10 +47,15 @@ the binary is `root:root` mode `0755`.
|
||||
Configuration variables map directly to Notarius's versioned YAML fields.
|
||||
Every optional value defaults to `null`, so it and any empty parent section are
|
||||
omitted and Notarius retains ownership of its built-in defaults. The role always
|
||||
emits `notarius_config_version` as `version` and writes the file as `root:root`
|
||||
mode `0644`. `notarius_pipelines` is the native mapping supplied by the caller;
|
||||
the role does not merge or rewrite it. For example, inventory can compose
|
||||
fragments in the ordinary way:
|
||||
emits `notarius_config_version` as `version`. It manages
|
||||
`notarius_config_path | dirname` and the resulting file with
|
||||
`notarius_config_owner`, `notarius_config_group`,
|
||||
`notarius_config_directory_mode`, and `notarius_config_file_mode`. The
|
||||
standalone defaults are `root:root`, directory mode `0755`, and file mode
|
||||
`0644`; composing roles may override this generic configuration interface.
|
||||
`notarius_pipelines` is the native mapping supplied by the caller; the role
|
||||
does not merge or rewrite it. For example, inventory can compose fragments in
|
||||
the ordinary way:
|
||||
|
||||
```yaml
|
||||
notarius_pipelines: "{{ notarius_pipeline_group_one | combine(notarius_pipeline_group_two) }}"
|
||||
|
||||
Reference in New Issue
Block a user