theforeman / theforeman.foreman / 0.8.1 / module / foreman_global_parameter Manage Foreman Global Parameters Authors: Bernhard Hopfenmueller (@Fobhep) ATIX AG, Matthias Dellweg (@mdellweg) ATIX AG, Manisha Singhal (@manisha15) ATIX AG preview | supported by communitytheforeman.foreman.foreman_global_parameter (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 Global Parameter Entities
- name: "Create a Global Parameter" foreman_global_parameter: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "TheAnswer" value: "42" state: present_with_defaults
- name: "Update a Global Parameter" foreman_global_parameter: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "TheAnswer" value: "43" state: present
- name: "Delete a Global Parameter" foreman_global_parameter: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "TheAnswer" state: absent
name: description: - Name of the Global Parameter required: true type: str 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 value: description: - Value of the Global Parameter required: false type: raw 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 name of the Global Parameter. When this parameter is set, the module will not be idempotent. type: str parameter_type: choices: - string - boolean - integer - real - array - hash - yaml - json default: string description: - Type of value type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool