ansible.eda.upcase (1.4.5) — module

Upper cases a passed in string

| "added in version" 1.0.0 of ansible.eda"

Authors: Test User (@yourGitHubHandle)

Install collection

Install with ansible-galaxy collection install ansible.eda:==1.4.5


Add to requirements.yml

  collections:
    - name: ansible.eda
      version: 1.4.5

Description

Upper cases a passed in string, if the passed in string is already uppercased changed is set to false. To have the module generate an error send the string fail

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in a message
- name: Test with a lower string
  ansible.eda.upcase:
    name: hello world
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# pass in a message and have it fail
- name: Test with a fail message
  ansible.eda.upcase:
    name: fail

Inputs

    
name:
    description: This is the string sent to the upcase module.
    required: true
    type: str

Outputs

message:
  description: The result message that the upcase module generates.
  returned: always
  sample: HELLO WORLD
  type: str