theforeman / theforeman.foreman / 0.8.1 / module / foreman_domain Manage Foreman Domains using Foreman API Authors: Markus Bucher (@m-bucher) ATIX AG preview | supported by communitytheforeman.foreman.foreman_domain (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 Domains using Foreman API
- name: domain foreman_domain: name: "example.org" description: "Example Domain" locations: - "Munich" organizations: - "ATIX" server_url: "https://foreman.example.com" username: "admin" password: "secret" state: present
name: description: The full DNS domain 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 dns_proxy: aliases: - dns description: DNS proxy to use within this domain for managing A records required: false type: str locations: description: List of locations the entity should be assigned to elements: str type: list parameters: description: - Domain specific host parameters elements: dict required: false suboptions: name: description: - Name of the parameter required: true type: str parameter_type: choices: - string - boolean - integer - real - array - hash - yaml - json default: string description: - Type of the parameter type: str value: description: - Value of the parameter required: true type: raw type: list server_url: description: URL of the Foreman server required: true type: str description: aliases: - fullname description: Full name describing the domain required: false type: str updated_name: description: New domain name. When this parameter is set, the module will not be idempotent. type: str organizations: description: List of organizations the entity should be assigned to elements: str type: list validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool