deixei.common_core.playbook_end (1.0.115) — module

Sets the start of a play

| "added in version" 1.0.0 of deixei.common_core"

Authors: Marcio Parente

Install collection

Install with ansible-galaxy collection install deixei.common_core:==1.0.115


Add to requirements.yml

  collections:
    - name: deixei.common_core
      version: 1.0.115

Description

Get facts for current logged in user.

Output equivalent of `az account show` command.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get facts for current logged in user
  deixei.common_core.playbook_end:
    name: "demo"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.

# ansible-playbook ./testplaybook_end.ansible.yml
- name: test my new module
  hosts: localhost
  collections:
  - deixei.common_core
  tasks:
  - name: run the new module
    deixei.common_core.playbook_end:
      name: 'hello'
      new: true
    register: testout
  - name: dump test output
    debug:
      msg: '{{ testout }}'    

Outputs

start_info:
  description:
  - plug for all plays. Serves as a validator on integrety
  returned: always
  type: dict