mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
chore: add antsibull-docs lint-collection pre-commit hook (#315)
##### SUMMARY This check will run a linter against the documentation. I was already able to fix a few errors.
This commit is contained in:
parent
82a72595a9
commit
aeda12275c
3 changed files with 14 additions and 3 deletions
|
|
@ -49,6 +49,17 @@ repos:
|
|||
- id: antsibull-changelog-lint
|
||||
- id: antsibull-changelog-lint-changelog-yaml
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: antsibull-docs-lint-collection
|
||||
name: antsibull-docs lint-collection
|
||||
description: Lint the collection docs
|
||||
language: python
|
||||
entry: antsibull-docs lint-collection-docs --plugin-docs .
|
||||
pass_filenames: false
|
||||
additional_dependencies:
|
||||
- antsibull-docs==2.3.1
|
||||
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: v6.18.0
|
||||
hooks:
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ hcloud_load_balancer_info:
|
|||
use_private_ip:
|
||||
description:
|
||||
- Route the traffic over the private IP of the Load Balancer through a Hetzner Cloud Network.
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud.hcloud_load_balancer_network)
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud_load_balancer_network)
|
||||
type: bool
|
||||
sample: true
|
||||
returned: always
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ options:
|
|||
use_private_ip:
|
||||
description:
|
||||
- Route the traffic over the private IP of the Load Balancer through a Hetzner Cloud Network.
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud.hcloud_load_balancer_network)
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud_load_balancer_network)
|
||||
type: bool
|
||||
default: False
|
||||
state:
|
||||
|
|
@ -129,7 +129,7 @@ hcloud_load_balancer_target:
|
|||
use_private_ip:
|
||||
description:
|
||||
- Route the traffic over the private IP of the Load Balancer through a Hetzner Cloud Network.
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud.hcloud_load_balancer_network)
|
||||
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud_load_balancer_network)
|
||||
type: bool
|
||||
sample: true
|
||||
returned: always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue