docker_* modules: add docker module defaults group (#63164)

* Add docker module defaults group.
* Add footnote about docker_stack not being included (instead of remarks column)
pull/63296/head
Felix Fontein 5 years ago committed by Alicia Cozine
parent b46299ff86
commit aa04e61c89

@ -85,25 +85,29 @@ Module defaults groups
Ansible 2.7 adds a preview-status feature to group together modules that share common sets of parameters. This makes Ansible 2.7 adds a preview-status feature to group together modules that share common sets of parameters. This makes
it easier to author playbooks making heavy use of API-based modules such as cloud modules. it easier to author playbooks making heavy use of API-based modules such as cloud modules.
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| Group | Purpose | Ansible Version | | Group | Purpose | Ansible Version |
+========+===========================+=================+ +=========+===========================+=================+
| aws | Amazon Web Services | 2.7 | | aws | Amazon Web Services | 2.7 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| azure | Azure | 2.7 | | azure | Azure | 2.7 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| gcp | Google Cloud Platform | 2.7 | | gcp | Google Cloud Platform | 2.7 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| k8s | Kubernetes | 2.8 | | k8s | Kubernetes | 2.8 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| os | OpenStack | 2.8 | | os | OpenStack | 2.8 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| acme | ACME | 2.10 | | acme | ACME | 2.10 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| vmware | VMware | 2.10 | | docker* | Docker | 2.10 |
+--------+---------------------------+-----------------+ +---------+---------------------------+-----------------+
| vmware | VMware | 2.10 |
Use the groups with `module_defaults` by prefixing the group name with `group/` - e.g. `group/aws` +---------+---------------------------+-----------------+
* The `docker_stack <docker_stack_module>`_ module is not included in the ``docker`` defaults group.
Use the groups with ``module_defaults`` by prefixing the group name with ``group/`` - e.g. ``group/aws``.
In a playbook, you can set module defaults for whole groups of modules, such as setting a common AWS region. In a playbook, you can set module defaults for whole groups of modules, such as setting a common AWS region.

@ -155,6 +155,50 @@ groupings:
- aws - aws
dms_replication_subnet_group: dms_replication_subnet_group:
- aws - aws
docker_compose:
- docker
docker_config:
- docker
docker_container_info:
- docker
docker_container:
- docker
docker_host_info:
- docker
docker_image_facts:
- docker
docker_image_info:
- docker
docker_image:
- docker
docker_login:
- docker
docker_network_info:
- docker
docker_network:
- docker
docker_node_info:
- docker
docker_node:
- docker
docker_prune:
- docker
docker_secret:
- docker
docker_service:
- docker
docker_swarm_info:
- docker
docker_swarm:
- docker
docker_swarm_service_info:
- docker
docker_swarm_service:
- docker
docker_volume_info:
- docker
docker_volume:
- docker
dynamodb_table: dynamodb_table:
- aws - aws
dynamodb_ttl: dynamodb_ttl:

Loading…
Cancel
Save