ubika / ubika.waap / 1.0.3 / module / ramdisk_cache Manage Ramdisk cache profiles Authors: UBIKA team (@ubika_team)ubika.waap.ramdisk_cache (1.0.3) — module
Install with ansible-galaxy collection install ubika.waap:==1.0.3
collections: - name: ubika.waap version: 1.0.3
Manage Ramdisk cache profiles.
- name: have "test" access log profile ubika.waap.access_log_profile: credentials: host: ubikawaap.local:3001 username: superadmin password: "Denyall@0" verify_ssl: false name: test cache_ignore_cache_control: false cache_ignore_no_last_mod: true cache_ignore_query_string: true cache_store_no_store: true cache_store_private: true cache_default_expire: 7200 cache_ignore_headers: test cache_ignore_url_session_identifiers: test url cache_last_modified_factor: "0.1" cache_max_expire: 7200 cache_dir_length: 2 cache_dir_levels: 4 cache_max_file_size: 600000 cache_min_file_size: 600
name: description: - Name of the Ramdisk cache profile. required: true type: str state: choices: - present - absent default: present description: - State of the Ramdisk cache profile. type: str credentials: description: - Credentials for UBIKA WAAP Gateway required: true suboptions: host: description: - UBIKA WAAP Gateway host required: true type: str password: description: - Administrator password required: true type: str username: description: - Administrator user name required: true type: str verify_ssl: default: true description: - Set to false to disable SSL verification type: bool type: dict cache_dir_length: default: 1 description: - The number of characters in subdirectory names. type: int cache_dir_levels: default: 2 description: - The number of levels of subdirectories in the cache. type: int cache_max_expire: default: 3600 description: - The maximum time in seconds to cache a document. type: int cache_max_file_size: default: 500000 description: - The maximum size (in bytes) of a document to be placed in the cache. type: int cache_min_file_size: default: 500 description: - The minimum size (in bytes) of a document to be placed in the cache. type: int cache_store_private: default: 1 description: - Attempt to cache responses that the server has marked as private. type: int cache_default_expire: default: 3600 description: - The default duration to cache a document when no expiry date is specified. type: int cache_ignore_headers: default: '' description: - Do not store the given HTTP header(s) in the cache. type: str cache_store_no_store: default: true description: - Attempt to cache requests or responses that have been marked as no-store. type: bool cache_ignore_no_last_mod: default: true description: - Ignore the fact that a response has no Last Modified header. type: bool cache_ignore_query_string: default: true description: - Ignore query string when caching. type: bool cache_ignore_cache_control: default: true description: - Ignore request to not serve cached content to client. type: bool cache_last_modified_factor: default: 0.1 description: - The factor used to compute an expiry date based on the LastModified date. type: float cache_ignore_url_session_identifiers: default: '' description: - Ignore defined session identifiers encoded in the URL when caching. type: str