From 9d7eb91b84c3fdc02af446746948e978fe8f3059 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 2 Sep 2022 11:28:10 +0200 Subject: [PATCH] use FQCN notation in examples --- plugins/modules/content_export_info.py | 12 ++++++------ plugins/modules/content_export_library.py | 10 +++++----- plugins/modules/content_export_repository.py | 8 ++++---- plugins/modules/content_export_version.py | 10 +++++----- plugins/modules/image.py | 2 +- plugins/modules/job_invocation.py | 4 ++-- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/plugins/modules/content_export_info.py b/plugins/modules/content_export_info.py index e26b1e1ffa..1297443901 100644 --- a/plugins/modules/content_export_info.py +++ b/plugins/modules/content_export_info.py @@ -65,7 +65,7 @@ EXAMPLES = ''' - name: "List all full exports in the organization" - content_export_info: + theforeman.foreman.content_export_info: organization: "Default Organization" type: complete username: "admin" @@ -74,7 +74,7 @@ - name: "Get a specific export history and register the result for the next task" vars: organization_name: "Export Org" - content_export_info: + theforeman.foreman.content_export_info: id: 29 username: "admin" password: "changeme" @@ -88,7 +88,7 @@ content: "{{ metadata }}" dest: ./metadata.json - name: "List all exports of a specific content view version" - content_export_info: + theforeman.foreman.content_export_info: content_view: RHEL8 content_view_version: '1.0' username: "admin" @@ -96,14 +96,14 @@ server_url: "https://foreman.example.com" organization: "Default Organization" - name: "List all exports marked for a specific destination server" - content_export_info: + theforeman.foreman.content_export_info: destination_server: "airgapped.example.com" username: "admin" password: "changeme" server_url: "https://foreman.example.com" organization: "Default Organization" - name: "List incremental exports of a specific content view version marked for a specific destination server" - content_export_info: + theforeman.foreman.content_export_info: content_view: RHEL8 destination_server: "airgapped.example.com" type: incremental @@ -112,7 +112,7 @@ server_url: "https://foreman.example.com" organization: "Default Organization" - name: "List all exports of a specific content view marked for a specific destination server" - content_export_info: + theforeman.foreman.content_export_info: content_view: RHEL8 destination_server: "airgapped.example.com" username: "admin" diff --git a/plugins/modules/content_export_library.py b/plugins/modules/content_export_library.py index 0d05279630..8a2973f7d5 100644 --- a/plugins/modules/content_export_library.py +++ b/plugins/modules/content_export_library.py @@ -61,7 +61,7 @@ EXAMPLES = ''' - name: "Export library content (full)" - content_export_library: + theforeman.foreman.content_export_library: username: "admin" password: "changeme" server_url: "https://foreman.example.com" @@ -69,7 +69,7 @@ destination_server: "airgapped.example.com" - name: "Export library content (full) and fail if any repos are unexportable" - content_export_library: + theforeman.foreman.content_export_library: username: "admin" password: "changeme" server_url: "https://foreman.example.com" @@ -78,7 +78,7 @@ fail_on_missing_content: true - name: "Export library content (full) in chunks of 10 GB" - content_export_library: + theforeman.foreman.content_export_library: username: "admin" password: "changeme" server_url: "https://foreman.example.com" @@ -87,7 +87,7 @@ destination_server: "airgapped.example.com" - name: "Export library content (incremental) since the most recent export" - content_export_library: + theforeman.foreman.content_export_library: username: "admin" password: "changeme" server_url: "https://foreman.example.com" @@ -96,7 +96,7 @@ incremental: true - name: "Export library content (incremental) since a specific export" - content_export_library: + theforeman.foreman.content_export_library: username: "admin" password: "changeme" server_url: "https://foreman.example.com" diff --git a/plugins/modules/content_export_repository.py b/plugins/modules/content_export_repository.py index f9d4922a5e..2fbe750829 100644 --- a/plugins/modules/content_export_repository.py +++ b/plugins/modules/content_export_repository.py @@ -61,7 +61,7 @@ EXAMPLES = ''' - name: "Export repository (full)" - content_export_repository: + theforeman.foreman.content_export_repository: product: "Example Product" repository: "Example Repository" username: "admin" @@ -70,7 +70,7 @@ organization: "Default Organization" - name: "Export repository (full) in chunks of 10 GB" - content_export_repository: + theforeman.foreman.content_export_repository: product: "Example Product" repository: "Example Repository" username: "admin" @@ -80,7 +80,7 @@ chunk_size_gb: 10 - name: "Export repository (incremental) since the most recent export" - content_export_repository: + theforeman.foreman.content_export_repository: product: "Example Product" repository: "Example Repository" username: "admin" @@ -90,7 +90,7 @@ incremental: true - name: "Export repository (incremental) since a specific export" - content_export_repository: + theforeman.foreman.content_export_repository: product: "Example Product" repository: "Example Repository" username: "admin" diff --git a/plugins/modules/content_export_version.py b/plugins/modules/content_export_version.py index f05a8dbdb6..9d4acc4b9b 100644 --- a/plugins/modules/content_export_version.py +++ b/plugins/modules/content_export_version.py @@ -71,7 +71,7 @@ EXAMPLES = ''' - name: "Export content view version (full)" - content_export_version: + theforeman.foreman.content_export_version: content_view: RHEL8 content_view_version: '1.0' username: "admin" @@ -81,7 +81,7 @@ destination_server: "airgapped.example.com" - name: "Export content view version (full) in chunks of 10 GB" - content_export_version: + theforeman.foreman.content_export_version: content_view: RHEL8 content_view_version: '1.0' username: "admin" @@ -92,7 +92,7 @@ chunk_size_gb: 10 - name: "Export content view version (full) and fail if any repos are unexportable" - content_export_version: + theforeman.foreman.content_export_version: content_view: RHEL8 content_view_version: '1.0' username: "admin" @@ -103,7 +103,7 @@ fail_on_missing_content: true - name: "Export content view version (incremental) since the most recent export" - content_export_version: + theforeman.foreman.content_export_version: content_view: RHEL8 content_view_version: '1.0' username: "admin" @@ -114,7 +114,7 @@ incremental: true - name: "Export content view version (incremental) since a specific export" - content_export_version: + theforeman.foreman.content_export_version: content_view: RHEL8 content_view_version: '1.0' username: "admin" diff --git a/plugins/modules/image.py b/plugins/modules/image.py index cb572d4aef..ff9e41d36b 100644 --- a/plugins/modules/image.py +++ b/plugins/modules/image.py @@ -69,7 +69,7 @@ EXAMPLES = ''' - name: create Image for EC2 - image: + theforeman.foreman.image: name: CentOS image_uuid: "ami-0ff760d16d9497662" image_username: "centos" diff --git a/plugins/modules/job_invocation.py b/plugins/modules/job_invocation.py index 58e296b86a..80ae2f84e4 100644 --- a/plugins/modules/job_invocation.py +++ b/plugins/modules/job_invocation.py @@ -125,7 +125,7 @@ EXAMPLES = ''' - name: "Run remote command on a single host once" - job_invocation: + theforeman.foreman.job_invocation: search_query: "name ^ (foreman.example.com)" command: 'ls' job_template: "Run Command - SSH Default" @@ -133,7 +133,7 @@ effective_user: "tester" - name: "Run ansible command on active hosts once a day" - job_invocation: + theforeman.foreman.job_invocation: bookmark: 'active' command: 'pwd' job_template: "Run Command - Ansible Default"