summaryrefslogtreecommitdiffstats
path: root/ansible_collections/hetzner/hcloud/plugins/doc_fragments
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/hetzner/hcloud/plugins/doc_fragments
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/hetzner/hcloud/plugins/doc_fragments')
-rw-r--r--ansible_collections/hetzner/hcloud/plugins/doc_fragments/__init__.py0
-rw-r--r--ansible_collections/hetzner/hcloud/plugins/doc_fragments/hcloud.py29
2 files changed, 29 insertions, 0 deletions
diff --git a/ansible_collections/hetzner/hcloud/plugins/doc_fragments/__init__.py b/ansible_collections/hetzner/hcloud/plugins/doc_fragments/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ansible_collections/hetzner/hcloud/plugins/doc_fragments/__init__.py
diff --git a/ansible_collections/hetzner/hcloud/plugins/doc_fragments/hcloud.py b/ansible_collections/hetzner/hcloud/plugins/doc_fragments/hcloud.py
new file mode 100644
index 000000000..d19e64616
--- /dev/null
+++ b/ansible_collections/hetzner/hcloud/plugins/doc_fragments/hcloud.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+# Copyright: (c) 2019, Hetzner Cloud GmbH <info@hetzner-cloud.de>
+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
+from __future__ import absolute_import, division, print_function
+
+__metaclass__ = type
+
+
+class ModuleDocFragment(object):
+ DOCUMENTATION = '''
+options:
+ api_token:
+ description:
+ - This is the API Token for the Hetzner Cloud.
+ - You can also set this option by using the environment variable HCLOUD_TOKEN
+ required: True
+ type: str
+ endpoint:
+ description:
+ - This is the API Endpoint for the Hetzner Cloud.
+ default: https://api.hetzner.cloud/v1
+ type: str
+requirements:
+ - hcloud-python >= 1.0.0
+seealso:
+- name: Documentation for Hetzner Cloud API
+ description: Complete reference for the Hetzner Cloud API.
+ link: https://docs.hetzner.cloud/
+'''