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)
This commit is contained in:
Felix Fontein 2019-10-09 21:12:02 +02:00 committed by Alicia Cozine
parent b46299ff86
commit aa04e61c89
2 changed files with 66 additions and 18 deletions

View file

@ -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
it easier to author playbooks making heavy use of API-based modules such as cloud modules.
+--------+---------------------------+-----------------+
| Group | Purpose | Ansible Version |
+========+===========================+=================+
| aws | Amazon Web Services | 2.7 |
+--------+---------------------------+-----------------+
| azure | Azure | 2.7 |
+--------+---------------------------+-----------------+
| gcp | Google Cloud Platform | 2.7 |
+--------+---------------------------+-----------------+
| k8s | Kubernetes | 2.8 |
+--------+---------------------------+-----------------+
| os | OpenStack | 2.8 |
+--------+---------------------------+-----------------+
| acme | ACME | 2.10 |
+--------+---------------------------+-----------------+
| vmware | VMware | 2.10 |
+--------+---------------------------+-----------------+
+---------+---------------------------+-----------------+
| Group | Purpose | Ansible Version |
+=========+===========================+=================+
| aws | Amazon Web Services | 2.7 |
+---------+---------------------------+-----------------+
| azure | Azure | 2.7 |
+---------+---------------------------+-----------------+
| gcp | Google Cloud Platform | 2.7 |
+---------+---------------------------+-----------------+
| k8s | Kubernetes | 2.8 |
+---------+---------------------------+-----------------+
| os | OpenStack | 2.8 |
+---------+---------------------------+-----------------+
| acme | ACME | 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.

View file

@ -155,6 +155,50 @@ groupings:
- aws
dms_replication_subnet_group:
- 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:
- aws
dynamodb_ttl: