From a1a7860be60be708d8e86b7d536dfce2c0432ab6 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 30 Nov 2022 11:23:19 +0100 Subject: [PATCH] doc and examples formating fixes --- plugins/modules/organization.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/modules/organization.py b/plugins/modules/organization.py index 260cbca612..e1943679e2 100644 --- a/plugins/modules/organization.py +++ b/plugins/modules/organization.py @@ -53,13 +53,13 @@ required: false type: str choices: - - 'redhat_cdn' - - 'network_sync' - - 'export_sync' + - redhat_cdn + - network_sync + - export_sync upstream_url: description: - URL of the upstream resource - - Required when I(upstream_type) is 'redhat_cdn' or 'network_sync' + - Required when I(upstream_type) is C(redhat_cdn) or C(network_sync) required: false type: str upstream_ca_cert: @@ -70,31 +70,31 @@ upstream_username: description: - Username to authenticate to the upstream Foreman server - - Required when I(upstream_type) is 'network_sync' + - Required when I(upstream_type) is C(network_sync) required: false type: str upstream_password: description: - Password to authenticate to the upstream Foreman server - - Required when I(upstream_type) is 'network_sync' + - Required when I(upstream_type) is C(network_sync) required: false type: str upstream_organization: description: - Organization in the upstream Foreman server to synchronize - - Required when I(upstream_type) is 'network_sync' + - Required when I(upstream_type) is C(network_sync) required: false type: str upstream_content_view: description: - Content View in the upstream Foreman server to synchronize - - Required when I(upstream_type) is 'network_sync' + - Required when I(upstream_type) is C(network_sync) required: false type: str upstream_lifecycle_environment: description: - Lifecycle Environment in the upstream Foreman server to synchronize - - Required when I(upstream_type) is 'network_sync' + - Required when I(upstream_type) is C(network_sync) required: false type: str extends_documentation_fragment: @@ -112,7 +112,7 @@ name: "My Cool New Organization" state: present -- name: "Configure Red Hat CDN on a different URL' +- name: "Configure Red Hat CDN on a different URL" theforeman.foreman.organization: username: "admin" password: "changeme"