theforeman / theforeman.foreman / 0.8.1 / module / foreman_os_default_template Manage Foreman Default Template Associations To Operating Systems Authors: Matthias M Dellweg (@mdellweg) ATIX AG preview | supported by communitytheforeman.foreman.foreman_os_default_template (0.8.1) — module
Install with ansible-galaxy collection install theforeman.foreman:==0.8.1
collections: - name: theforeman.foreman version: 0.8.1
Manage Foreman OSDefaultTemplate Entities
- name: "Create an Association" foreman_os_default_template: username: "admin" password: "changeme" server_url: "https://foreman.example.com" operatingsystem: "CoolOS" template_kind: "finish" provisioning_template: "CoolOS finish" state: present
- name: "Delete an Association" foreman_os_default_template: username: "admin" password: "changeme" server_url: "https://foreman.example.com" operatingsystem: "CoolOS" template_kind: "finish" state: absent
state: choices: - present - present_with_defaults - absent default: present description: - State of the entity in Foreman - C(present_with_defaults) will ensure the entity exists, but won't update existing ones type: str password: description: Password of the user accessing the Foreman server required: true type: str username: description: Username accessing the Foreman server required: true type: str server_url: description: URL of the Foreman server required: true type: str template_kind: description: - name of the template kind required: true type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool operatingsystem: description: - Title of the Operating System (name, or name and major version, that uniquely identifies the OS) required: true type: str provisioning_template: description: - name of provisioning template required: false type: str