.. Document meta :orphan: .. Anchors .. _ansible_collections.theforeman.foreman.setting_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title theforeman.foreman.setting -- Manage Settings +++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `theforeman.foreman collection `_. To install it use: :code:`ansible-galaxy collection install theforeman.foreman`. To use it in a playbook, specify: :code:`theforeman.foreman.setting`. .. version_added .. versionadded:: 1.0.0 of theforeman.foreman .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Manage Settings .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - apypie .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
name
string / required
Name of the Setting
password
string / required
Password of the user accessing the Foreman server
server_url
string / required
URL of the Foreman server
username
string / required
Username accessing the Foreman server
validate_certs
boolean
    Choices:
  • no
  • yes ←
Whether or not to verify the TLS certificates of the Foreman server
value
raw
value to set the Setting to
if missing, reset to default

.. Notes .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: "Set a Setting" theforeman.foreman.setting: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "http_proxy" value: "http://localhost:8088" - name: "Reset a Setting" theforeman.foreman.setting: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "http_proxy" .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. raw:: html
Key Returned Description
foreman_setting
dictionary
success
Created / Updated state of the setting



.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Matthias M Dellweg (@mdellweg) ATIX AG .. Parsing errors