nikhilpatne.manageengine.patch_configuration (1.1.0) — module

Create and delete manageengine patch configuration

| "added in version" 1.0 of nikhilpatne.manageengine"

Authors: Nikhil Patne (@nikhilpatne)

preview | supported by community

Install collection

Install with ansible-galaxy collection install nikhilpatne.manageengine:==1.1.0


Add to requirements.yml

  collections:
    - name: nikhilpatne.manageengine
      version: 1.1.0

Description

Create and delete manageengine patch configuration

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Create patch configuration
- name: create patch configuration
  patch_configuration:
    url: http://manageengine_host
    port: 8020
    username: admin
    password: admin
    ip_list: ["ip1","ip2"]
    deployment_policy: 'Deploy during business hours(Do not reboot)'
    configuration_name: 'MyConfiguration'
    configuration_description: 'My first configuration'

Inputs

    
url:
    description:
    - URL or Host IP of manageengine instance.
    required: true
    type: str

port:
    default: 8020
    description:
    - TCP port on which manageengine instance is running.
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Patch should create or delete
    type: str

ip_list:
    description:
    - List of IP addresses on which patching will perform.
    required: true
    type: list

password:
    description:
    - Password to connect manageengine instance.
    required: true
    type: str

username:
    description:
    - Username to connect manageengine instance
    required: true
    type: str

deployment_policy:
    choices:
    - Force reboot excluding servers
    - Deploy during System start up/login
    - Download immediately and deploy during deployment window
    - Deploy security(Patch Tuesday) updates
    - Deploy during non-business hours(Wake computers and force shutdown)
    - Deploy during business hours(Do not reboot)
    - Allow user intervention(Skip deployment/reboot)
    - Deploy any time at the earliest
    default: Deploy any time at the earliest
    description:
    - Deployment policy
    type: str

configuration_name:
    description:
    - The name of the configuration.
    required: true
    type: str

configuration_description:
    description:
    - Configuration description
    required: true
    type: str