diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..d6f49421 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/Makefile b/Makefile index a4bab1b6..9973aee4 100644 --- a/Makefile +++ b/Makefile @@ -114,6 +114,7 @@ doc: $(MANIFEST) branding: sed -i 's/theforeman\.foreman/redhat.satellite/g' plugins/*/*.py tests/inventory/tests.foreman.yml tests/test_module_state.py tests/test_playbooks/*.yml + sed -i 's/foreman.example.com/satellite.example.com/g' plugins/*/*.py FORCE: diff --git a/galaxy.yml b/galaxy.yml index 73e2f77d..58243e01 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -49,7 +49,7 @@ authors: - "metalcated " - "russianguppie <46544650+russianguppie@users.noreply.github.com>" - "willtome " -version: "1.0.0" +version: "1.0.1" license: - "GPL-3.0-or-later" tags: diff --git a/plugins/filter/foreman.py b/plugins/filter/foreman.py index 1051c141..e5e7871d 100644 --- a/plugins/filter/foreman.py +++ b/plugins/filter/foreman.py @@ -6,13 +6,6 @@ __metaclass__ = type -ANSIBLE_METADATA = { - 'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community' -} - - import re diff --git a/plugins/modules/activation_key.py b/plugins/modules/activation_key.py index d86ea3d5..1e9c913b 100644 --- a/plugins/modules/activation_key.py +++ b/plugins/modules/activation_key.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: activation_key @@ -152,7 +148,7 @@ activation_key: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Clients" organization: "Default Organization" lifecycle_environment: "Library" diff --git a/plugins/modules/architecture.py b/plugins/modules/architecture.py index f3f1b735..6d0a70cb 100644 --- a/plugins/modules/architecture.py +++ b/plugins/modules/architecture.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: architecture @@ -56,7 +52,7 @@ operatingsystems: - "TestOS1" - "TestOS2" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -67,7 +63,7 @@ operatingsystems: - "TestOS3" - "TestOS4" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -75,7 +71,7 @@ - name: "Delete an Architecture" architecture: name: "i386" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: absent diff --git a/plugins/modules/auth_source_ldap.py b/plugins/modules/auth_source_ldap.py index 8c2d2215..e9867b78 100644 --- a/plugins/modules/auth_source_ldap.py +++ b/plugins/modules/auth_source_ldap.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: auth_source_ldap @@ -128,7 +124,7 @@ auth_source_ldap: name: "Example LDAP" host: "ldap.example.org" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" locations: - "Uppsala" organizations: @@ -152,7 +148,7 @@ attr_lastname: sn attr_mail: mail attr_photo: jpegPhoto - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/bookmark.py b/plugins/modules/bookmark.py index 659de6d4..2543d5dc 100644 --- a/plugins/modules/bookmark.py +++ b/plugins/modules/bookmark.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: bookmark @@ -63,7 +59,7 @@ bookmark: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "recent" controller: "job_invocations" query: "started_at > '24 hours ago'" @@ -73,7 +69,7 @@ bookmark: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "recent" controller: "job_invocations" query: "started_at > '12 hours ago'" @@ -83,7 +79,7 @@ bookmark: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "recent" controller: "job_invocations" state: absent diff --git a/plugins/modules/compute_attribute.py b/plugins/modules/compute_attribute.py index da42f313..5900ff13 100644 --- a/plugins/modules/compute_attribute.py +++ b/plugins/modules/compute_attribute.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: compute_attribute @@ -60,7 +56,7 @@ compute_attribute: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" compute_profile: "Test Compute Profile" compute_resource: "Test Compute Resource" vm_attrs: @@ -72,7 +68,7 @@ compute_attribute: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" compute_profile: "Test Compute Profile" compute_resource: "Test Compute Resource" vm_attrs: diff --git a/plugins/modules/compute_profile.py b/plugins/modules/compute_profile.py index 49ae1043..54afacb1 100644 --- a/plugins/modules/compute_profile.py +++ b/plugins/modules/compute_profile.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: compute_profile @@ -67,7 +63,7 @@ - name: compute profile compute_profile: name: example_compute_profile - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -81,7 +77,7 @@ cluster: 'a96d44a4-f14a-1015-82c6-f80354acdf01' template: 'c88af4b7-a24a-453b-9ac2-bc647ca2ef99' instance_type: 'cb8927e7-a404-40fb-a6c1-06cbfc92e077' - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -125,7 +121,7 @@ capacity: 16G allocation: 16G format_type: raw - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -133,7 +129,7 @@ - name: Remove compute profile compute_profile: name: example_compute_profile2 - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: absent diff --git a/plugins/modules/compute_resource.py b/plugins/modules/compute_resource.py index b911e522..f66ef7bf 100644 --- a/plugins/modules/compute_resource.py +++ b/plugins/modules/compute_resource.py @@ -21,10 +21,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: compute_resource @@ -137,7 +133,7 @@ provider_params: url: libvirt.example.com display_type: vnc - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -154,7 +150,7 @@ provider_params: url: libvirt.example.com display_type: vnc - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -162,7 +158,7 @@ - name: Delete libvirt compute resource compute_resource: name: example_compute_resource - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: absent @@ -180,7 +176,7 @@ user: admin password: secret datacenter: ax01 - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -200,7 +196,7 @@ datacenter: aa92fb54-0736-4066-8fa8-b8b9e3bd75ac ovirt_quota: 24868ab9-c2a1-47c3-87e7-706f17d215ac use_v4: true - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -218,7 +214,7 @@ user: root@pam password: secretpassword ssl_verify_peer: true - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -236,7 +232,7 @@ user: AWS_ACCESS_KEY password: AWS_SECRET_KEY region: eu-west-1 - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -256,7 +252,7 @@ app_ident: CLIENT_ID password: CLIENT_SECRET region: westeurope - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present @@ -275,7 +271,7 @@ email: myname@atix.de key_path: "/usr/share/foreman/gce_orcharhino_key.json" zone: europe-west3-b - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: admin password: secret state: present diff --git a/plugins/modules/config_group.py b/plugins/modules/config_group.py index 4580d416..546629c5 100644 --- a/plugins/modules/config_group.py +++ b/plugins/modules/config_group.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: config_group @@ -56,7 +52,7 @@ puppetclasses: - ntp - mymodule::myclass - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/content_credential.py b/plugins/modules/content_credential.py index 4c7171fa..3a4d8530 100644 --- a/plugins/modules/content_credential.py +++ b/plugins/modules/content_credential.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: content_credential @@ -60,7 +56,7 @@ content_credential: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "RPM-GPG-KEY-my-repo" content_type: gpg_key organization: "Default Organization" diff --git a/plugins/modules/content_upload.py b/plugins/modules/content_upload.py index 3f18e12d..24a5e07d 100644 --- a/plugins/modules/content_upload.py +++ b/plugins/modules/content_upload.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: content_upload @@ -65,7 +61,7 @@ content_upload: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" src: "my.rpm" repository: "Build RPMs" product: "My Product" diff --git a/plugins/modules/content_view.py b/plugins/modules/content_view.py index 88349bbc..de9adcac 100644 --- a/plugins/modules/content_view.py +++ b/plugins/modules/content_view.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: content_view @@ -106,7 +102,7 @@ content_view: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Fedora CV" organization: "My Cool new Organization" repositories: @@ -117,7 +113,7 @@ content_view: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Fedora CCV" organization: "My Cool new Organization" composite: true diff --git a/plugins/modules/content_view_filter.py b/plugins/modules/content_view_filter.py index 519a3f42..2098f871 100644 --- a/plugins/modules/content_view_filter.py +++ b/plugins/modules/content_view_filter.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: content_view_filter @@ -149,7 +145,7 @@ content_view_filter: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "package filter 1" organization: "Default Organization" content_view: Web Servers @@ -160,7 +156,7 @@ content_view_filter: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "package filter 1" organization: "Default Organization" content_view: Web Servers diff --git a/plugins/modules/content_view_version.py b/plugins/modules/content_view_version.py index 16a26302..7079fa84 100644 --- a/plugins/modules/content_view_version.py +++ b/plugins/modules/content_view_version.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: content_view_version @@ -80,7 +76,7 @@ content_view_version: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" content_view: "CV 1" organization: "Default Organization" version: 2.0 @@ -92,7 +88,7 @@ content_view_version: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" content_view: "CV 1" organization: "Default Organization" current_lifecycle_environment: Test @@ -103,7 +99,7 @@ content_view_version: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" content_view: "CV 1" organization: "Default Organization" @@ -111,7 +107,7 @@ content_view_version: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" content_view: "CV 1" organization: "Default Organization" lifecycle_environments: @@ -122,7 +118,7 @@ content_view_version: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" content_view: "Web Servers" organization: "Default Organization" version: 1.0 diff --git a/plugins/modules/domain.py b/plugins/modules/domain.py index 896417f3..41bfc61d 100644 --- a/plugins/modules/domain.py +++ b/plugins/modules/domain.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: domain @@ -70,7 +66,7 @@ - "Munich" organizations: - "ACME" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/external_usergroup.py b/plugins/modules/external_usergroup.py index 2b83fc59..910fed68 100644 --- a/plugins/modules/external_usergroup.py +++ b/plugins/modules/external_usergroup.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: external_usergroup diff --git a/plugins/modules/global_parameter.py b/plugins/modules/global_parameter.py index 4317525b..093f00b0 100644 --- a/plugins/modules/global_parameter.py +++ b/plugins/modules/global_parameter.py @@ -19,11 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - - DOCUMENTATION = ''' --- module: global_parameter @@ -75,7 +70,7 @@ global_parameter: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "TheAnswer" value: "42" state: present_with_defaults @@ -84,7 +79,7 @@ global_parameter: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "TheAnswer" value: "43" state: present @@ -93,7 +88,7 @@ global_parameter: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "TheAnswer" state: absent ''' diff --git a/plugins/modules/hardware_model.py b/plugins/modules/hardware_model.py index c0058764..be70783b 100644 --- a/plugins/modules/hardware_model.py +++ b/plugins/modules/hardware_model.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: hardware_model @@ -61,7 +57,7 @@ hardware_model: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "acme laptop" info: "this is the acme laptop" state: present diff --git a/plugins/modules/host.py b/plugins/modules/host.py index 50e1c3a1..5868b867 100644 --- a/plugins/modules/host.py +++ b/plugins/modules/host.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: host @@ -125,7 +121,7 @@ host: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "new_host" hostgroup: my_hostgroup state: present @@ -134,7 +130,7 @@ host: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "new_host" hostgroup: my_hostgroup build: true @@ -144,7 +140,7 @@ host: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "new_host" managed: false state: present @@ -153,7 +149,7 @@ host: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "new_host" state: absent ''' diff --git a/plugins/modules/host_collection.py b/plugins/modules/host_collection.py index 3ac9689d..75dc62d6 100644 --- a/plugins/modules/host_collection.py +++ b/plugins/modules/host_collection.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: host_collection @@ -58,7 +54,7 @@ host_collection: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Foo" description: "Foo host collection for Foo servers" organization: "My Cool new Organization" diff --git a/plugins/modules/host_power.py b/plugins/modules/host_power.py index f43bbc39..e3a09c21 100644 --- a/plugins/modules/host_power.py +++ b/plugins/modules/host_power.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: host_power @@ -64,7 +60,7 @@ host_power: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" hostname: "test-host.domain.test" state: on @@ -72,7 +68,7 @@ host_power: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" hostname: "test-host.domain.test" state: off @@ -80,7 +76,7 @@ host_power: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" hostname: "test-host.domain.test" state: state register: result diff --git a/plugins/modules/hostgroup.py b/plugins/modules/hostgroup.py index 56dbc1ac..cffa4d21 100644 --- a/plugins/modules/hostgroup.py +++ b/plugins/modules/hostgroup.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: hostgroup @@ -74,7 +70,7 @@ operatingsystem: "operatingsystem_name" medium: "media_name" ptable: "Partition_table_name" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -94,7 +90,7 @@ medium: "updated_media_name" ptable: "updated_Partition_table_name" root_pass: "password" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -126,7 +122,7 @@ - name: "Delete a Hostgroup" hostgroup: name: "new_hostgroup" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: absent diff --git a/plugins/modules/image.py b/plugins/modules/image.py index d3637567..451ad962 100644 --- a/plugins/modules/image.py +++ b/plugins/modules/image.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: image diff --git a/plugins/modules/installation_medium.py b/plugins/modules/installation_medium.py index 182eea3d..bd92364d 100644 --- a/plugins/modules/installation_medium.py +++ b/plugins/modules/installation_medium.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: installation_medium @@ -71,7 +67,7 @@ operatingsystems: - "Debian" path: "http://debian.org/mirror/" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/job_template.py b/plugins/modules/job_template.py index e17e826d..04bfc25b 100644 --- a/plugins/modules/job_template.py +++ b/plugins/modules/job_template.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: job_template @@ -155,7 +151,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: A New Job Template state: present template: | @@ -175,7 +171,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: a new job template file_name: timeywimey_template.erb template_inputs: @@ -191,7 +187,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: a new job template template_inputs: [] state: present @@ -204,7 +200,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: timeywimey state: absent @@ -212,7 +208,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: timeywimey_template.erb name: Wibbly Wobbly Template state: present @@ -227,7 +223,7 @@ job_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: "{{ item }}" state: present locations: @@ -240,7 +236,7 @@ # If the templates are stored locally and the ansible module is executed on a remote host - name: Ensure latest version of all your Job Templates job_template: - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "changeme" state: present @@ -251,20 +247,18 @@ # with name set to "*" bulk actions can be performed - name: "Delete *ALL* Job Templates" - local_action: - module: foreman_job_template + job_template: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: absent - name: "Assign all Job Templates to the same organization(s)" - local_action: - module: foreman_job_template + job_template: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: present organizations: diff --git a/plugins/modules/lifecycle_environment.py b/plugins/modules/lifecycle_environment.py index 3af0de4f..ca819d13 100644 --- a/plugins/modules/lifecycle_environment.py +++ b/plugins/modules/lifecycle_environment.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: lifecycle_environment @@ -62,7 +58,7 @@ lifecycle_environment: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Production" label: "production" organization: "Default Organization" diff --git a/plugins/modules/location.py b/plugins/modules/location.py index 0b5928a1..fa64c658 100644 --- a/plugins/modules/location.py +++ b/plugins/modules/location.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: location @@ -58,7 +54,7 @@ location: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My Cool New Location" organizations: - "Default Organization" @@ -69,7 +65,7 @@ location: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My Nested location" parent: "My Cool New Location" state: present @@ -79,7 +75,7 @@ location: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My Cool New Location/New nested location" state: present @@ -88,7 +84,7 @@ location: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My Cool New Location/New nested location" parent: "My Cool New Location/My Nested location" state: present diff --git a/plugins/modules/operatingsystem.py b/plugins/modules/operatingsystem.py index e4117bbd..269016a0 100644 --- a/plugins/modules/operatingsystem.py +++ b/plugins/modules/operatingsystem.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: operatingsystem @@ -90,7 +86,7 @@ - Specify the full list of template names you want to associate with your OS. - For example ["Kickstart default", "Kickstart default finish", "Kickstart default iPXE", "custom"]. - After specifying the template associations, you can set the default association in - - the M(foreman_os_default_template) module. + - the M(redhat.satellite.os_default_template) module. required: false type: list elements: str @@ -120,7 +116,7 @@ operatingsystem: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: Debian release_name: stretch family: Debian @@ -134,7 +130,7 @@ operatingsystem: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: Centos family: Redhat major: 7 @@ -145,7 +141,7 @@ operatingsystem: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: Debian family: Debian major: 9 diff --git a/plugins/modules/organization.py b/plugins/modules/organization.py index 81fea610..f9eb283f 100644 --- a/plugins/modules/organization.py +++ b/plugins/modules/organization.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: organization @@ -59,7 +55,7 @@ organization: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My Cool New Organization" state: present ''' diff --git a/plugins/modules/os_default_template.py b/plugins/modules/os_default_template.py index 31ae97e1..32b29abc 100644 --- a/plugins/modules/os_default_template.py +++ b/plugins/modules/os_default_template.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: os_default_template @@ -57,7 +53,7 @@ os_default_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" operatingsystem: "CoolOS" template_kind: "finish" provisioning_template: "CoolOS finish" @@ -67,7 +63,7 @@ os_default_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" operatingsystem: "CoolOS" template_kind: "finish" state: absent diff --git a/plugins/modules/partition_table.py b/plugins/modules/partition_table.py index 77e8261e..f3d9aa63 100644 --- a/plugins/modules/partition_table.py +++ b/plugins/modules/partition_table.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: partition_table @@ -78,7 +74,7 @@ partition_table: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: A New Partition Template state: present layout: | @@ -97,7 +93,7 @@ partition_table: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: timeywimey_template.erb state: present locations: @@ -109,7 +105,7 @@ partition_table: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: timeywimey layout: | <%# @@ -121,7 +117,7 @@ partition_table: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: timeywimey_template.erb name: Wibbly Wobbly Template state: present @@ -136,7 +132,7 @@ partition_table: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: "{{ item }}" state: present locations: @@ -149,7 +145,7 @@ # If the templates are stored locally and the ansible module is executed on a remote host - name: Ensure latest version of all Ptable Community Templates partition_table: - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "changeme" state: present @@ -160,20 +156,18 @@ # with name set to "*" bulk actions can be performed - name: "Delete *ALL* partition tables" - local_action: - module: foreman_ptable + partition_table: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: absent - name: "Assign all partition tables to the same organization(s)" - local_action: - module: foreman_ptable + partition_table: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: present organizations: diff --git a/plugins/modules/product.py b/plugins/modules/product.py index 0dec814e..5d86d057 100644 --- a/plugins/modules/product.py +++ b/plugins/modules/product.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: product @@ -84,7 +80,7 @@ product: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Fedora" organization: "My Cool new Organization" sync_plan: "Fedora repos sync" @@ -94,7 +90,7 @@ product: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "CentOS 7" gpg_key: "RPM-GPG-KEY-CentOS7" organization: "My Cool new Organization" diff --git a/plugins/modules/provisioning_template.py b/plugins/modules/provisioning_template.py index 1cf427e2..0f1ed0d6 100644 --- a/plugins/modules/provisioning_template.py +++ b/plugins/modules/provisioning_template.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: provisioning_template @@ -102,7 +98,7 @@ provisioning_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: A New Finish Template kind: finish state: present @@ -122,7 +118,7 @@ provisioning_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: timeywimey_template.erb state: present locations: @@ -136,7 +132,7 @@ provisioning_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: timeywimey_template template: | <%# @@ -148,7 +144,7 @@ provisioning_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: timeywimey_template.erb name: Wibbly Wobbly Template state: present @@ -163,7 +159,7 @@ provisioning_template: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" file_name: "{{ item }}" state: present locations: @@ -176,7 +172,7 @@ # If the templates are stored locally and the ansible module is executed on a remote host - name: Ensure latest version of all Provisioning Community Templates provisioning_template: - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "changeme" state: present @@ -187,20 +183,18 @@ # with name set to "*" bulk actions can be performed - name: "Delete *ALL* provisioning templates" - local_action: - module: foreman_provisioning_template + provisioning_template: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: absent - name: "Assign all provisioning templates to the same organization(s)" - local_action: - module: foreman_provisioning_template + provisioning_template: username: "admin" password: "admin" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "*" state: present organizations: diff --git a/plugins/modules/puppet_environment.py b/plugins/modules/puppet_environment.py index 7e16f8a8..7c986eec 100644 --- a/plugins/modules/puppet_environment.py +++ b/plugins/modules/puppet_environment.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: puppet_environment @@ -52,7 +48,7 @@ - "Munich" organizations: - "ACME" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/realm.py b/plugins/modules/realm.py index a6c7eb32..47c23bde 100644 --- a/plugins/modules/realm.py +++ b/plugins/modules/realm.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: realm @@ -62,9 +58,9 @@ realm: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "EXAMPLE.COM" - realm_proxy: "foreman.example.com" + realm_proxy: "satellite.example.com" realm_type: "Red Hat Identity Management" state: present ''' diff --git a/plugins/modules/redhat_manifest.py b/plugins/modules/redhat_manifest.py index ae229c9a..c15c6a3d 100644 --- a/plugins/modules/redhat_manifest.py +++ b/plugins/modules/redhat_manifest.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: redhat_manifest @@ -91,9 +87,9 @@ ''' EXAMPLES = ''' -- name: Create katello.example.com Manifest and add 7 sub +- name: Create satellite.example.com Manifest and add 7 sub redhat_manifest: - name: "katello.example.com" + name: "satellite.example.com" username: "john-smith" password: "changeme" pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX @@ -108,9 +104,9 @@ quantity: 10 path: /root/manifest.zip -- name: Remove all of one subs from katello.example.com +- name: Remove all of one subs from satellite.example.com redhat_manifest: - name: katello.example.com + name: satellite.example.com username: john-smith password: changeme pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/plugins/modules/repository.py b/plugins/modules/repository.py index c59ae0ab..609cde08 100644 --- a/plugins/modules/repository.py +++ b/plugins/modules/repository.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: repository @@ -171,7 +167,7 @@ repository: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My repository" state: present content_type: "yum" @@ -185,7 +181,7 @@ repository: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "My repository 2" state: present content_type: "yum" diff --git a/plugins/modules/repository_set.py b/plugins/modules/repository_set.py index 5bc3bdf6..6f35f5fb 100644 --- a/plugins/modules/repository_set.py +++ b/plugins/modules/repository_set.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: repository_set @@ -50,7 +46,7 @@ description: - Release version and base architecture of the repositories to enable. - Some reposotory sets require only I(basearch) or only I(releasever) to be set. - - See the examples how you can obtain this information using M(foreman_search_facts). + - See the examples how you can obtain this information using M(redhat.satellite.resource_info). - Required when I(all_repositories) is unset or C(false). required: false type: list @@ -89,7 +85,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Red Hat Enterprise Linux 7 Server (RPMs)" organization: "Default Organization" product: "Red Hat Enterprise Linux Server" @@ -108,7 +104,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" label: rhel-7-server-rpms repositories: @@ -126,7 +122,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: Red Hat Enterprise Linux 7 Server - Extras (RPMs) organization: "Default Organization" product: Red Hat Enterprise Linux Server @@ -138,7 +134,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" label: rhel-8-for-x86_64-baseos-rpms repositories: @@ -148,7 +144,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" label: "rhel-7-server-rhv-4.2-manager-rpms" repositories: @@ -159,7 +155,7 @@ repository_set: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" label: "rhel-7-server-rhv-4.2-manager-rpms" all_repositories: true @@ -169,7 +165,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" resource: repository_sets search: product_name="Red Hat Virtualization Manager" @@ -182,7 +178,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" resource: repository_sets search: label=rhel-7-server-rhv-4.2-manager-rpms diff --git a/plugins/modules/repository_sync.py b/plugins/modules/repository_sync.py index 6965a8a5..545bf74c 100644 --- a/plugins/modules/repository_sync.py +++ b/plugins/modules/repository_sync.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: repository_sync @@ -54,7 +50,7 @@ repository_sync: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" repository: "My repository" product: "My Product" organization: "Default Organization" diff --git a/plugins/modules/resource_info.py b/plugins/modules/resource_info.py index 543ad988..2b148373 100644 --- a/plugins/modules/resource_info.py +++ b/plugins/modules/resource_info.py @@ -19,11 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - - DOCUMENTATION = ''' --- module: resource_info @@ -70,7 +65,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" resource: settings search: name = foreman_url register: result @@ -81,7 +76,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" resource: registries register: result - debug: @@ -92,7 +87,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" resource: organizations full_details: true register: result @@ -103,7 +98,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" resource: subscriptions params: organization_id: 1 @@ -115,7 +110,7 @@ resource_info: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" resource: activation_keys organization: ACME register: result diff --git a/plugins/modules/role.py b/plugins/modules/role.py index 13f1e840..18c1f0bb 100644 --- a/plugins/modules/role.py +++ b/plugins/modules/role.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: role @@ -74,7 +70,7 @@ - permissions: - view_hosts search: "owner_type = Usergroup and owner_id = 4" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/scap_content.py b/plugins/modules/scap_content.py index 78a3a6d0..157ab25e 100644 --- a/plugins/modules/scap_content.py +++ b/plugins/modules/scap_content.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: scap_content @@ -59,7 +55,7 @@ - "Default Organization" locations: - "Default Location" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -76,7 +72,7 @@ locations: - "Loc One" - "Loc Two" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -84,7 +80,7 @@ - name: Delete SCAP content scap_content: title: "Red Hat firefox default content" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: absent diff --git a/plugins/modules/scap_tailoring_file.py b/plugins/modules/scap_tailoring_file.py index c5bdb9d0..057607a4 100644 --- a/plugins/modules/scap_tailoring_file.py +++ b/plugins/modules/scap_tailoring_file.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: scap_tailoring_file @@ -59,7 +55,7 @@ - "Default Organization" locations: - "Default Location" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -76,7 +72,7 @@ locations: - "Loc One" - "Loc Two" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -84,7 +80,7 @@ - name: Delete SCAP tailoring file scap_tailoring_file: name: "Red Hat firefox default content" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: absent diff --git a/plugins/modules/setting.py b/plugins/modules/setting.py index 945f06cc..2032102e 100644 --- a/plugins/modules/setting.py +++ b/plugins/modules/setting.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: setting @@ -52,7 +48,7 @@ setting: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "http_proxy" value: "http://localhost:8088" @@ -60,7 +56,7 @@ setting: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "http_proxy" ''' diff --git a/plugins/modules/smart_class_parameter.py b/plugins/modules/smart_class_parameter.py index 6054a946..1a838376 100644 --- a/plugins/modules/smart_class_parameter.py +++ b/plugins/modules/smart_class_parameter.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: smart_class_parameter @@ -131,7 +127,7 @@ override: true required: true default_value: /etc/prometheus/alert.yml - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present @@ -147,7 +143,7 @@ - domain required: true default_value: /etc/prometheus/alert.yml - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" override_values: diff --git a/plugins/modules/subnet.py b/plugins/modules/subnet.py index c51cc988..a2a58d1b 100644 --- a/plugins/modules/subnet.py +++ b/plugins/modules/subnet.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: subnet @@ -176,7 +172,7 @@ - "Example Org" locations: - "Toulouse" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "secret" state: present diff --git a/plugins/modules/subscription_manifest.py b/plugins/modules/subscription_manifest.py index b367086b..270f3d90 100644 --- a/plugins/modules/subscription_manifest.py +++ b/plugins/modules/subscription_manifest.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: subscription_manifest @@ -60,7 +56,7 @@ subscription_manifest: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" organization: "Default Organization" state: present manifest_path: "/tmp/manifest.zip" diff --git a/plugins/modules/sync_plan.py b/plugins/modules/sync_plan.py index 775ec61e..8e44bcfa 100644 --- a/plugins/modules/sync_plan.py +++ b/plugins/modules/sync_plan.py @@ -20,10 +20,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: sync_plan @@ -85,7 +81,7 @@ sync_plan: username: "admin" password: "changeme" - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" name: "Weekly RHEL Sync" organization: "Default Organization" interval: "weekly" diff --git a/plugins/modules/templates_import.py b/plugins/modules/templates_import.py index 6e3ca2cb..fc8e80ea 100644 --- a/plugins/modules/templates_import.py +++ b/plugins/modules/templates_import.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.0', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: templates_import @@ -36,7 +32,7 @@ - Due to a bug in the foreman_templates plugin, this module won't report C(changed=true) when the only change is the Organization/Location association of the imported templates. Please see U(https://projects.theforeman.org/issues/29534) for details. - - Default values for all module options can be set using M(foreman_setting) for TemplateSync category or on the settings page in WebUI. + - Default values for all module options can be set using M(redhat.satellite.setting) for TemplateSync category or on the settings page in WebUI. options: prefix: description: @@ -104,7 +100,7 @@ repo: https://github.com/theforeman/community-templates.git branch: 1.24-stable associate: new - server_url: "https://foreman.example.com" + server_url: "https://satellite.example.com" username: "admin" password: "changeme" ''' diff --git a/plugins/modules/user.py b/plugins/modules/user.py index db9d92d3..57b5f276 100644 --- a/plugins/modules/user.py +++ b/plugins/modules/user.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: user diff --git a/plugins/modules/usergroup.py b/plugins/modules/usergroup.py index e6ddbbcf..62226b3a 100644 --- a/plugins/modules/usergroup.py +++ b/plugins/modules/usergroup.py @@ -19,10 +19,6 @@ __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: usergroup