theforeman / theforeman.foreman / 4.0.0 / module / http_proxy Manage HTTP Proxies | "added in version" 1.1.0 of theforeman.foreman" Authors: Evgeni Golov (@evgeni)theforeman.foreman.http_proxy (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Create, update, and delete HTTP Proxies
- name: create example.org proxy theforeman.foreman.http_proxy: name: "example.org" url: "http://example.org:3128" locations: - "Munich" organizations: - "ACME" server_url: "https://foreman.example.com" username: "admin" password: "changeme" state: present
url: description: - URL of the HTTP Proxy - Required when creating a new HTTP Proxy. required: false type: str name: description: - The HTTP Proxy name required: true type: str state: choices: - present - absent default: present description: - State of the entity type: str password: description: - Password of the user accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. required: true type: str username: description: - Username accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME) will be used instead. required: true type: str locations: description: List of locations the entity should be assigned to elements: str type: list server_url: description: - URL of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. required: true type: str organizations: description: List of organizations the entity should be assigned to elements: str type: list proxy_password: description: - Password used to authenticate with the HTTP Proxy - When this parameter is set, the module will not be idempotent. required: false type: str proxy_username: description: - Username used to authenticate with the HTTP Proxy required: false type: str validate_certs: default: true description: - Whether or not to verify the TLS certificates of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. type: bool
entity: contains: http_proxies: description: List of HTTP proxies. elements: dict type: list description: Final state of the affected entities grouped by their type. returned: success type: dict