Skip to content

apache/template

Specifies the template file for Apache index page generation

Apache Template Parameter

This parameter defines the template file used for generating the default Apache index page. It enables consistent and customizable index page creation across deployed Apache instances.

Requirements

  • Template file must exist in the templates directory
  • Template must be valid HTML format
  • Template must support Machine parameter expansion

Template Variables

The template supports the following Machine parameters: - .Machine.Uuid: Unique identifier of the machine - .Machine.Address: IP address of the machine - .Machine.Name: Hostname of the machine

Usage Example

YAML
apache/template: apache-index.html.tmpl

Integration Points

  • Used by apache-configure task
  • Supports Machine parameter expansion
  • Compatible with both Photon and Alma Linux installations

Default Template

The default template creates a simple HTML page displaying machine information: - Machine UUID - Machine IP Address - Machine Hostname

Objects that Reference apache/template

Not used in current content packs

Objects used by apache/template

Not used in current content packs