Skip to content

Commit

Permalink
use FQCN notation in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 5, 2022
1 parent 6d9e942 commit 9d7eb91
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
12 changes: 6 additions & 6 deletions plugins/modules/content_export_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -88,22 +88,22 @@
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"
password: "changeme"
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
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/content_export_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@

EXAMPLES = '''
- name: "Export library content (full)"
content_export_library:
theforeman.foreman.content_export_library:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
organization: "Default Organization"
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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/content_export_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/content_export_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

EXAMPLES = '''
- name: create Image for EC2
image:
theforeman.foreman.image:
name: CentOS
image_uuid: "ami-0ff760d16d9497662"
image_username: "centos"
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/job_invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@
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"
ssh:
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"
Expand Down

0 comments on commit 9d7eb91

Please sign in to comment.