mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-03 23:51:48 +00:00
##### SUMMARY
This allows to use `module_defaults` against all the modules at once
using the new `hetzner.hcloud.all` `action_group`.
You can now pass the `api_token` argument using module_defaults:
```yaml
- name: Demonstrate the usage of the 'hetzner.hcloud.all' module_defaults group
hosts: localhost
connection: local
module_defaults:
group/hetzner.hcloud.all:
api_token: "{{ _vault_hcloud_api_token }}"
tasks:
- name: Create a volume
hetzner.hcloud.volume:
name: my-volume
location: fsn1
size: 100
state: present
register: volume
```
See the documentation and examples for more details.
##### ISSUE TYPE
- Feature Pull Request
26 lines
825 B
Text
26 lines
825 B
Text
---
|
|
exclude_paths:
|
|
- .azure-pipelines
|
|
- .cache/
|
|
- .git/
|
|
- .github/
|
|
- changelogs/
|
|
- tests/integration/targets/certificate
|
|
- tests/integration/targets/firewall
|
|
- tests/integration/targets/floating_ip
|
|
- tests/integration/targets/load_balancer_network
|
|
- tests/integration/targets/load_balancer_service
|
|
- tests/integration/targets/load_balancer_target
|
|
- tests/integration/targets/network
|
|
- tests/integration/targets/placement_group
|
|
- tests/integration/targets/primary_ip
|
|
- tests/integration/targets/route
|
|
- tests/integration/targets/server
|
|
- tests/integration/targets/server_network
|
|
- tests/integration/targets/ssh_key
|
|
- tests/integration/targets/volume
|
|
- tests/integration/targets/setup_selfsigned_certificate
|
|
- tests/integration/targets/setup_ssh_keypair
|
|
|
|
warn_list:
|
|
- internal-error
|