Server IP : 85.214.239.14 / Your IP : 18.224.43.85 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/usr/lib/python3/dist-packages/ansible_collections/theforeman/foreman/plugins/doc_fragments/ |
Upload File : |
# (c) 2019, Evgeni Golov <evgeni@redhat.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # from __future__ import absolute_import, division, print_function __metaclass__ = type class ModuleDocFragment(object): # Foreman documentation fragment DOCUMENTATION = ''' requirements: - requests options: server_url: description: - URL of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. required: true type: str username: description: - Username accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME) will be used instead. required: true type: str password: description: - Password of the user accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. required: true type: str validate_certs: description: - Whether or not to verify the TLS certificates of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. default: true type: bool attributes: check_mode: description: Can run in check_mode and return changed status prediction without modifying the entity support: full diff_mode: description: Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode support: full ''' NESTED_PARAMETERS = ''' options: parameters: description: - Entity domain specific host parameters required: false type: list elements: dict suboptions: name: description: - Name of the parameter required: true type: str value: description: - Value of the parameter required: true type: raw parameter_type: description: - Type of the parameter default: 'string' choices: - 'string' - 'boolean' - 'integer' - 'real' - 'array' - 'hash' - 'yaml' - 'json' type: str ''' OS_FAMILY = ''' options: os_family: description: - The OS family the entity shall be assigned with. required: false choices: - AIX - Altlinux - Archlinux - Coreos - Debian - Fcos - Freebsd - Gentoo - Junos - NXOS - Rancheros - Redhat - Rhcos - Solaris - Suse - VRP - Windows - Xenserver type: str ''' TAXONOMY = ''' options: organizations: description: List of organizations the entity should be assigned to type: list elements: str locations: description: List of locations the entity should be assigned to type: list elements: str ''' ENTITY_STATE = ''' options: state: description: - State of the entity default: present choices: - present - absent type: str ''' ENTITY_STATE_WITH_DEFAULTS = ''' options: state: description: - State of the entity - C(present_with_defaults) will ensure the entity exists, but won't update existing ones default: present choices: - present - present_with_defaults - absent type: str ''' HOST_OPTIONS = ''' options: compute_resource: description: Compute resource name required: false type: str compute_profile: description: Compute profile name required: false type: str domain: description: Domain name required: false type: str subnet: description: IPv4 Subnet name required: false type: str subnet6: description: IPv6 Subnet name required: false type: str root_pass: description: - Root password. - Will result in the entity always being updated, as the current password cannot be retrieved. type: str required: false realm: description: Realm name required: false type: str architecture: description: Architecture name required: false type: str medium: aliases: [ media ] description: - Medium name - Mutually exclusive with I(kickstart_repository). required: false type: str pxe_loader: description: PXE Bootloader required: false choices: - PXELinux BIOS - PXELinux UEFI - Grub UEFI - Grub2 BIOS - Grub2 ELF - Grub2 UEFI - Grub2 UEFI SecureBoot - Grub2 UEFI HTTP - Grub2 UEFI HTTPS - Grub2 UEFI HTTPS SecureBoot - iPXE Embedded - iPXE UEFI HTTP - iPXE Chain BIOS - iPXE Chain UEFI - None type: str ptable: description: Partition table name required: false type: str environment: description: Puppet environment name required: false type: str puppetclasses: description: List of puppet classes to include in this host group. Must exist for hostgroup's puppet environment. required: false type: list elements: str config_groups: description: Config groups list required: false type: list elements: str puppet_proxy: description: Puppet server proxy name required: false type: str puppet_ca_proxy: description: Puppet CA proxy name required: false type: str openscap_proxy: description: - OpenSCAP proxy name. - Only available when the OpenSCAP plugin is installed. required: false type: str content_source: description: - Content Source (Smart Proxy with Content) name. - Only available for Katello installations. required: false type: str lifecycle_environment: description: - Lifecycle environment. - Only available for Katello installations. required: false type: str kickstart_repository: description: - Kickstart repository name. - You need to provide this to use the "Synced Content" feature. - Mutually exclusive with I(medium). - Only available for Katello installations. required: false type: str content_view: description: - Content view. - Only available for Katello installations. required: false type: str activation_keys: description: - Activation Keys used for deployment. - Comma separated list. - Only available for Katello installations. required: false type: str ''' ORGANIZATION = ''' options: organization: description: - Organization that the entity is in required: true type: str ''' SCAP_DATASTREAM = ''' options: scap_file: description: - File containing XML DataStream content. - Required when creating a new DataStream. required: false type: path original_filename: description: - Original file name of the XML file. - If unset, the filename of I(scap_file) will be used. required: false type: str ''' OPERATINGSYSTEMS = ''' options: operatingsystems: description: - List of operating systems the entity should be assigned to. - Operating systems are looked up by their title which is composed as "<name> <major>.<minor>". - You can omit the version part as long as you only have one operating system by that name. required: false type: list elements: str ''' OPERATINGSYSTEM = ''' options: operatingsystem: description: - Operating systems are looked up by their title which is composed as "<name> <major>.<minor>". - You can omit the version part as long as you only have one operating system by that name. type: str required: false ''' INFOMODULE = ''' options: name: description: - Name of the resource to fetch information for. - Mutually exclusive with I(search). required: false type: str location: description: - Label of the Location to scope the search for. required: false type: str organization: description: - Name of the Organization to scope the search for. required: false type: str search: description: - Search query to use - If None, and I(name) is not set, all resources are returned. - Mutually exclusive with I(name). type: str ''' INFOMODULEWITHOUTNAME = ''' options: location: description: - Label of the Location to scope the search for. required: false type: str organization: description: - Name of the Organization to scope the search for. required: false type: str search: description: - Search query to use - If None, all resources are returned. type: str ''' KATELLOINFOMODULE = ''' options: organization: required: true ''' KATELLOEXPORT = ''' options: chunk_size_gb: description: - Split the exported content into archives no greater than the specified size in gigabytes. required: false type: int format: description: - Export format. - Choose C(syncable) if the exported content needs to be in a yum format. required: false type: str choices: - syncable - importable version_added: 3.10.0 incremental: description: - Export only the content that has changed since the last export. required: false type: bool from_history_id: description: - Export history identifier used for incremental export. If not provided the most recent export history will be used. required: false type: int '''