이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 47. import-templates


Import templates from a git repo or a directory on the server

Usage

# hammer import-templates [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --associate ENUM – Associate to OS`s, Locations & Organizations. Options are: always, new or never. Possible value(s): always, new, never
  • --branch VALUE – Branch in Git repo.
  • --dirname VALUE – Directory within Git repo containing the templates.
  • --filter VALUE – Export templates with names matching this regex (case-insensitive; snippets are not filtered).
  • --force BOOLEAN – Update templates that are locked
  • --http-proxy VALUE – Name to search by
  • --http-proxy-id NUMBER – ID of an HTTP proxy to use for template sync. Use this parameter together with http_proxy_policy`:`selected
  • --http-proxy-policy ENUM – HTTP proxy policy for template sync. Use only when synchronizing templates through the HTTP or the HTTPS protocol. If you choose selected, provide the http_proxy_id parameter. Possible value(s): global, none, selected
  • --location VALUE – Set the current location context for the request
  • --location-id NUMBER – Set the current location context for the request
  • --location-ids LIST – REPLACE locations with given ids
  • --location-title VALUE – Set the current location context for the request
  • --location-titles LIST
  • --locations LIST
  • --lock ENUM – Lock imported templates Possible value(s): lock, keep_lock_new, keep, unlock, true, false, 0, 1
  • --negate BOOLEAN – Negate the prefix (for purging).
  • --organization VALUE – Set the current organization context for the request
  • --organization-id NUMBER – Set the current organization context for the request
  • --organization-ids LIST – REPLACE organizations with given ids.
  • --organization-title VALUE – Set the current organization context for the request
  • --organization-titles LIST
  • --organizations LIST
  • --prefix VALUE – The string all imported templates should begin with.
  • --repo VALUE – Override the default repo from settings.
  • --verbose BOOLEAN – Show template diff in response
  • -h, --help – Print help
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat