ansible-sshd/meta
Rich Megginson b5b3933072 fix: add support for EL10
According to the Ansible team, support for listing platforms in
role `meta/main.yml` files is being removed.
Instead, they recommend using `galaxy_tags`

https://github.com/ansible/ansible/blob/stable-2.17/changelogs/CHANGELOG-v2.17.rst
"Remove the galaxy_info field platforms from the role templates"
https://github.com/ansible/ansible/issues/82453

For each version listed under `platforms.EL` - add a tag like `elN`.

Q: Why not use a delimiter between the platform and the version e.g. `el-10`?

This is not allowed by ansible-lint:

```
meta-no-tags: Tags must contain lowercase letters and digits only., invalid: 'el-10'
meta/main.yml:1
```

So we cannot use uppercase letters either.

Q: Why not use our own meta/main.yml field?

No other fields are allowed by ansible-lint:

```
syntax-check[specific]: 'myfield' is not a valid attribute for a RoleMetadata
```

Q: Why not use some other field?

There are no other applicable or suitable fields.

Q: What happens when we want to support versions like `N.M`?

Use the word "dot" instead of "." e.g. `el10dot3`.
Similarly - use "dash" instead of "-".

We do not need tags such as `fedoraall`.
The `fedora` tag implies that the role works on all supported versions of fedora.
Otherwise, use tags such as `fedora40` if the role only supports specific versions.

In addition - for roles that have different variable files for EL9, create
the corresponding EL10 files, and update the variables for EL10.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2024-07-02 10:36:19 -06:00
..
01_ansible_head.j2 Fingerprint ansible-sshd managed config files 2023-03-29 10:30:06 -07:00
10_top.j2 fix: Document and streamline the sshd_main_config_file 2024-04-05 09:29:10 +02:00
20_middle.j2 Update source template files used to generate final template 2021-06-01 16:09:23 +02:00
30_bottom.j2 Update source template files used to generate final template 2021-06-01 16:09:23 +02:00
collection-requirements.yml feat: support for ostree systems 2023-11-28 09:40:18 -07:00
main.yml fix: add support for EL10 2024-07-02 10:36:19 -06:00
make_option_lists Support for appending a snippet to configuration file 2021-06-01 16:09:23 +02:00
make_ostree_packages_files ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-08 10:56:53 -07:00
options_body feat: Add new options from OpenSSH 9.3 2023-06-15 15:56:48 +02:00
options_match feat: Add missing configuration options available in Match block 2023-06-15 15:56:48 +02:00
runtime.yml feat: Ubuntu noble (#290) 2024-06-21 09:12:02 +01:00