pystol.actions.drain_nodes (0.8.6) — module

A module that drain nodes

| "added in version" 2.8 of pystol.actions"

Authors: Carlos Camacho (@ccamacho)

preview | supported by community

Install collection

Install with ansible-galaxy collection install pystol.actions:==0.8.6


Add to requirements.yml

  collections:
    - name: pystol.actions
      version: 0.8.6

Description

A module that drain nodes

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in a message
- name: Test with a message
  drain_nodes:
    nodes: ["minikube", "worker1"]
    amount: 3
    duration: 60

Inputs

    
nodes:
    default: default

amount:
    default: 10

duration:
    default: 60

Outputs

fact:
  description: Actual facts
  sample: Jane Doe is a smart cookie.
  type: str