Created
February 17, 2020 01:39
-
-
Save metalcated/69ab4a76387b75747243fffcf27c9249 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Create OS Windows Server 2016" | |
theforeman.foreman.foreman_operatingsystem: | |
server_url: http://foreman.example.org/xxx | |
username: admin | |
password: xxxx | |
name: windows_2016 | |
release_name: windows_2016 | |
family: Windows | |
os_family: windows | |
media: Windows | |
description: Windows Server 2016 | |
major: 10 | |
minor: 0.2016 | |
password_hash: Base64-Windows | |
architectures: x64 | |
parameters: | |
- name: windowsEdition | |
value: "Windows Server 2016 SERVERSTANDARD" | |
- name: windowsLicenseKey | |
value: "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" | |
provisioning_templates: [ | |
"Windows Unattend", | |
"Windows Install", | |
"Windows iPXE", | |
"Windows PXELinux", | |
"Windows JoinDomain", | |
"Windows Configure" | |
] | |
ptables: ["Windows Whole Disk"] | |
state: present | |
# Associate templates wtth OS | |
- name: "Associate Windows Unattend" | |
theforeman.foreman.foreman_os_default_template: | |
server_url: http://foreman.example.org | |
username: admin | |
password: xxxx | |
operatingsystem: "windows" | |
template_kind: "provision" | |
provisioning_template: "Windows Unattend" | |
state: present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment