mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Replace symlinks with meta/runtime.yml redirects. (#4562)
This commit is contained in:
parent
7ee38eadf3
commit
7743ecd776
553 changed files with 1109 additions and 559 deletions
|
@ -106,9 +106,15 @@ Creating new modules and plugins requires a bit more work than other Pull Reques
|
|||
- Make sure that new plugins and modules have tests (unit tests, integration tests, or both); it is preferable to have some tests
|
||||
which run in CI.
|
||||
|
||||
4. For modules and action plugins, make sure to create your module/plugin in the correct subdirectory, and create a symbolic link
|
||||
from `plugins/modules/` respectively `plugins/action/` to the actual module/plugin code. (Other plugin types should not use
|
||||
subdirectories.)
|
||||
4. For modules and action plugins, make sure to create your module/plugin in the correct subdirectory, and add a redirect entry
|
||||
in `meta/runtime.yml`. For example, for the `aerospike_migrations` module located in
|
||||
`plugins/modules/database/aerospike/aerospike_migrations.py`, you need to create the following entry:
|
||||
```.yaml
|
||||
aerospike_migrations:
|
||||
redirect: community.general.database.aerospike.aerospike_migrations
|
||||
```
|
||||
Here, the relative path `database/aerospike/` is inserted into the module's FQCN (Fully Qualified Collection Name) after the
|
||||
collection's name and before the module's name. This must not be done for other plugin types but modules and action plugins!
|
||||
|
||||
- Action plugins need to be accompanied by a module, even if the module file only contains documentation
|
||||
(`DOCUMENTATION`, `EXAMPLES` and `RETURN`). The module must have the same name and directory path in `plugins/modules/`
|
||||
|
|
|
@ -10,3 +10,4 @@ breaking_changes:
|
|||
- git_config - remove Ansible 2.9 and early ansible-base 2.10 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
|
||||
- java_keystore - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
|
||||
- a_module test plugin - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
|
||||
- The symbolic links used to implement flatmapping for all modules were removed and replaced by ``meta/runtime.yml`` redirects. This effectively breaks compatibility with Ansible 2.9 for all modules (without using their "long" names, which is discouraged and which can change without previous notice since they are considered an implementation detail) (https://github.com/ansible-collections/community.general/pull/4548).
|
||||
|
|
1099
meta/runtime.yml
1099
meta/runtime.yml
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
./system/iptables_state.py
|
|
@ -1 +0,0 @@
|
|||
./system/shutdown.py
|
|
@ -1 +0,0 @@
|
|||
say.py
|
|
@ -1 +0,0 @@
|
|||
./database/aerospike/aerospike_migrations.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/airbrake_deployment.py
|
|
@ -1 +0,0 @@
|
|||
./system/aix_devices.py
|
|
@ -1 +0,0 @@
|
|||
./system/aix_filesystem.py
|
|
@ -1 +0,0 @@
|
|||
./system/aix_inittab.py
|
|
@ -1 +0,0 @@
|
|||
./system/aix_lvg.py
|
|
@ -1 +0,0 @@
|
|||
./system/aix_lvol.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/alerta_customer.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/alicloud/ali_instance.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/alicloud/ali_instance_info.py
|
|
@ -1 +0,0 @@
|
|||
./system/alternatives.py
|
|
@ -1 +0,0 @@
|
|||
packaging/language/ansible_galaxy_install.py
|
|
@ -1 +0,0 @@
|
|||
./web_infrastructure/apache2_mod_proxy.py
|
|
@ -1 +0,0 @@
|
|||
./web_infrastructure/apache2_module.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/apk.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/apt_repo.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/apt_rpm.py
|
|
@ -1 +0,0 @@
|
|||
./files/archive.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/atomic/atomic_container.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/atomic/atomic_host.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/atomic/atomic_image.py
|
|
@ -1 +0,0 @@
|
|||
./system/awall.py
|
|
@ -1 +0,0 @@
|
|||
./system/beadm.py
|
|
@ -1 +0,0 @@
|
|||
./notification/bearychat.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/bigpanda.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/bitbucket/bitbucket_access_key.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/bitbucket/bitbucket_pipeline_key_pair.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/bitbucket/bitbucket_pipeline_known_host.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/bitbucket/bitbucket_pipeline_variable.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/bower.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/bundler.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/bzr.py
|
|
@ -1 +0,0 @@
|
|||
./notification/campfire.py
|
|
@ -1 +0,0 @@
|
|||
./system/capabilities.py
|
|
@ -1 +0,0 @@
|
|||
packaging/language/cargo.py
|
|
@ -1 +0,0 @@
|
|||
./notification/catapult.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/circonus_annotation.py
|
|
@ -1 +0,0 @@
|
|||
notification/cisco_spark.py
|
|
@ -1 +0,0 @@
|
|||
notification/cisco_webex.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_aa_policy.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_alert_policy.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_blueprint_package.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_firewall_policy.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_group.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_loadbalancer.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_modify_server.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_publicip.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_server.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/centurylink/clc_server_snapshot.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/misc/cloud_init_data_facts.py
|
|
@ -1 +0,0 @@
|
|||
./net_tools/cloudflare_dns.py
|
|
@ -1 +0,0 @@
|
|||
./remote_management/cobbler/cobbler_sync.py
|
|
@ -1 +0,0 @@
|
|||
./remote_management/cobbler/cobbler_system.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/composer.py
|
|
@ -1 +0,0 @@
|
|||
./clustering/consul/consul.py
|
|
@ -1 +0,0 @@
|
|||
./clustering/consul/consul_acl.py
|
|
@ -1 +0,0 @@
|
|||
./clustering/consul/consul_kv.py
|
|
@ -1 +0,0 @@
|
|||
./clustering/consul/consul_session.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/copr.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/cpanm.py
|
|
@ -1 +0,0 @@
|
|||
./system/cronvar.py
|
|
@ -1 +0,0 @@
|
|||
./system/crypttab.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/datadog/datadog_downtime.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/datadog/datadog_event.py
|
|
@ -1 +0,0 @@
|
|||
./monitoring/datadog/datadog_monitor.py
|
|
@ -1 +0,0 @@
|
|||
./system/dconf.py
|
|
@ -1 +0,0 @@
|
|||
./web_infrastructure/deploy_helper.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/dimensiondata/dimensiondata_network.py
|
|
@ -1 +0,0 @@
|
|||
./cloud/dimensiondata/dimensiondata_vlan.py
|
|
@ -1 +0,0 @@
|
|||
./notification/discord.py
|
|
@ -1 +0,0 @@
|
|||
./web_infrastructure/django_manage.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/dnf_versionlock.py
|
|
@ -1 +0,0 @@
|
|||
./net_tools/dnsimple.py
|
|
@ -1 +0,0 @@
|
|||
./net_tools/dnsimple_info.py
|
|
@ -1 +0,0 @@
|
|||
./net_tools/dnsmadeeasy.py
|
|
@ -1 +0,0 @@
|
|||
./system/dpkg_divert.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/easy_install.py
|
|
@ -1 +0,0 @@
|
|||
./web_infrastructure/ejabberd_user.py
|
|
@ -1 +0,0 @@
|
|||
./database/misc/elasticsearch_plugin.py
|
|
@ -1 +0,0 @@
|
|||
./storage/emc/emc_vnx_sg_member.py
|
|
@ -1 +0,0 @@
|
|||
./clustering/etcd3.py
|
|
@ -1 +0,0 @@
|
|||
./system/facter.py
|
|
@ -1 +0,0 @@
|
|||
files/filesize.py
|
|
@ -1 +0,0 @@
|
|||
./system/filesystem.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/flatpak.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/os/flatpak_remote.py
|
|
@ -1 +0,0 @@
|
|||
./notification/flowdock.py
|
|
@ -1 +0,0 @@
|
|||
net_tools/gandi_livedns.py
|
|
@ -1 +0,0 @@
|
|||
./system/gconftool2.py
|
|
@ -1 +0,0 @@
|
|||
./packaging/language/gem.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/git_config.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/github/github_deploy_key.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/github/github_issue.py
|
|
@ -1 +0,0 @@
|
|||
./source_control/github/github_key.py
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue