2.78. hammer template-input
テンプレート入力を管理します。
Usage: hammer template-input [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a template input delete Delete a template input info Show template input details list List template inputs Options: -h, --help Print help
2.78.1. hammer template-input create
テンプレート入力を作成します。
Usage: hammer template-input create [OPTIONS] Options: --advanced ADVANCED Input is advanced One of true/false, yes/no, 1/0. --default DEFAULT Default value for user input --description DESCRIPTION Input description --fact-name FACT_NAME Fact name, used when input type is fact --hidden-value HIDDEN_VALUE The value contains sensitive information and shouldn not be normally Visible, useful e.g. for passwords One of true/false, yes/no, 1/0. --input-type INPUT_TYPE Input type Possible value(s): 'user', 'fact', 'variable', 'puppet_parameter' --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --name NAME Input name --options OPTIONS Selectable values for user inputs Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title --puppet-class-name PUPPET_CLASS_NAME Puppet class name, used when input type is puppet_parameter --puppet-parameter-name PUPPET_PARAMETER_NAME Puppet parameter name, used when input type is puppet_parameter --required REQUIRED Input is required One of true/false, yes/no, 1/0. --resource-type RESOURCE_TYPE For values of type search, this is the resource the value searches in Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit', 'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigGroup', 'ConfigReport', 'DiscoveryRule', 'Domain', 'Environment', 'ExternalUsergroup', 'FactValue', 'Filter', 'ForemanOpenscap::ArfReport', 'ForemanOpenscap::Policy', 'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile', 'ForemanTasks::RecurringLogic', 'ForemanTasks::Task', 'ForemanVirtWhoConfigure::Config', 'Host', 'HostClass', 'Hostgroup', 'HttpProxy', 'Image', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey', 'Katello::ContentView', 'Katello::GpgKey', 'Katello::HostCollection', 'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription', 'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium', 'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken', 'ProvisioningTemplate', 'Ptable', 'Puppetclass', 'PuppetclassLookupKey', 'Realm', 'RemoteExecutionFeature', 'Report', 'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet', 'Template', 'TemplateInvocation', 'Trend', 'User', 'Usergroup', 'VariableLookupKey' --template-id TEMPLATE_ID --value-type VALUE_TYPE Value type, defaults to plain Possible value(s): 'plain', 'search', 'date' --variable-name VARIABLE_NAME Variable name, used when input type is variable -h, --help Print help