theforeman / theforeman.foreman / 0.8.1 / module / foreman_bookmark Manage Foreman Bookmarks Authors: Bernhard Hopfenmueller (@Fobhep) ATIX AG, Christoffer Reijer (@ephracis) Basalt AB preview | supported by communitytheforeman.foreman.foreman_bookmark (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 Bookmark Entities
- name: "Create a Bookmark" foreman_bookmark: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "recent" controller: "job_invocations" query: "started_at > '24 hours ago'" state: present_with_defaults
- name: "Update a Bookmark" foreman_bookmark: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "recent" controller: "job_invocations" query: "started_at > '12 hours ago'" state: present
- name: "Delete a Bookmark" foreman_bookmark: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "recent" controller: "job_invocations" state: absent
name: description: - Name of the bookmark required: true type: str query: description: - Query of the bookmark 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 public: default: true description: - Make bookmark available for all users required: false type: bool 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 controller: description: - Controller for the bookmark required: true type: str server_url: description: URL of the Foreman server required: true type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool