theforeman.foreman.os_default_template – Manage Default Template Associations To Operating Systems¶
Note
This plugin is part of the theforeman.foreman collection (version 2.0.1).
To install it use: ansible-galaxy collection install theforeman.foreman.
To use it in a playbook, specify: theforeman.foreman.os_default_template.
New in version 1.0.0: of theforeman.foreman
Parameters¶
Examples¶
- name: "Create an Association"
  theforeman.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"
  theforeman.foreman.os_default_template:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    operatingsystem: "CoolOS"
    template_kind: "finish"
    state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Matthias M Dellweg (@mdellweg) ATIX AG