theforeman / theforeman.foreman / 0.8.1 / module / foreman_config_group Manage (Puppet) config groups using Foreman API Authors: Baptiste Agasse (@bagasse) preview | supported by communitytheforeman.foreman.foreman_config_group (0.8.1) — module
Install with ansible-galaxy collection install theforeman.foreman:==0.8.1
collections: - name: theforeman.foreman version: 0.8.1
Create and Delete Foreman (Puppet) config groups using Foreman API
- name: create new config group foreman_config_group: name: "My config group" puppetclasses: - ntp - mymodule::myclass server_url: "https://foreman.example.com" username: "admin" password: "secret" state: present
name: description: The config group name required: true type: str state: choices: - present - absent default: present description: - State of the entity in Foreman 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 updated_name: description: New config group name. When this parameter is set, the module will not be idempotent. type: str puppetclasses: description: List of puppet classes to include in this group elements: str required: false type: list validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool