f5networks.f5_bigip.bigip_lx_package (3.4.0) — module

Manages Javascript LX packages on a BIG-IP

| "added in version" 1.0.0 of f5networks.f5_bigip"

Authors: Wojciech Wypior (@wojtek0806)

Install collection

Install with ansible-galaxy collection install f5networks.f5_bigip:==3.4.0


Add to requirements.yml

  collections:
    - name: f5networks.f5_bigip
      version: 3.4.0

Description

Manages Javascript LX packages on a BIG-IP. This module allows you to deploy LX packages to the BIG-IP and manage their lifecycle.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install AS3
  bigip_lx_package:
    package: f5-appsvcs-3.5.0-3.noarch.rpm
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install AS3 with custom timeout
  bigip_lx_package:
    package: f5-appsvcs-3.5.0-3.noarch.rpm
    timeout: 100
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add an LX package stored in a role
  bigip_lx_package:
    package: "{{ roles_path }}/files/MyApp-0.1.0-0001.noarch.rpm'"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove an LX package
  bigip_lx_package:
    package: MyApp-0.1.0-0001.noarch.rpm
    state: absent
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install AS3 and don't delete package file
  bigip_lx_package:
    package: f5-appsvcs-3.5.0-3.noarch.rpm
    retain_package_file: true

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the LX package should exist or not.
    type: str

package:
    description:
    - The LX package that you want to upload or remove. When C(state) is C(present), and
      you intend to use this module in a C(role), it is recommended that you use the C({{
      role_path }}) variable. An example is provided in the C(EXAMPLES) section.
    - When C(state) is C(absent), it is not necessary for the package to exist on the
      Ansible controller. If the full path to the package is provided, the filename is
      specifically cherry picked from it to properly remove the package.
    type: path

timeout:
    default: 300
    description:
    - The amount of time to wait for the installation task to complete, in seconds.
    - The accepted value range is between C(10) and C(1800) seconds.
    type: int
    version_added: 1.4.0
    version_added_collection: f5networks.f5_bigip

retain_package_file:
    default: false
    description:
    - Whether or not the install file be deleted on successful installation of the package.
    type: bool