fvzwieten.starwars.movie (0.1.0) — module

return the title of a starwars movie

| "added in version" 2.4 of fvzwieten.starwars"

Authors: Fred van Zwieten (@fvzwieten)

preview | supported by community

Install collection

Install with ansible-galaxy collection install fvzwieten.starwars:==0.1.0


Add to requirements.yml

  collections:
    - name: fvzwieten.starwars
      version: 0.1.0

Description

This module return the box office title for the requested starwars movie number

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ask for title of movie 1
- name: give me the title of the first movie (in chronological order)
  starwars:
    movie: 1
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# pass in a message and have changed true
- name: give me the title of the first movie made
  starwars:
    movie: 1
    scheme: released

Inputs

    
movie:
    description:
    - This is the number of the movie
    required: true

scheme:
    default: chronological
    description:
    - Choose for chronological or released
    required: false

Outputs

title:
  description: The box office title of the movie
  returned: always
  type: str
trilogy:
  description: from which trilogie is this movie part of
  returned: always
  type: str
trilogy_sequence:
  description: which sequence number within the trilogy is this movie
  returned: always
  type: number