ns2.flatcol.foo module – Do some foo bar

Note

This module is part of the ns2.flatcol collection.

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install ns2.flatcol.

To use it in a playbook, specify: ns2.flatcol.foo.

New in ns2.flatcol 2.0.0

Synopsis

Parameters

Parameter

Comments

bar

aliases: baz

list / elements=integer

A bar.

Independent from foo.

Do not confuse with bar.

foo

string / required

The foo source.

subfoo

aliases: subbaz

dictionary

added in ns2.flatcol 2.0.0

Some recursive foo.

foo

aliases: bam

string / required

A sub foo.

Whatever.

Also required when subfoo is specified when foo=bar or baz.

Note that subfoo.foo is the same as subbaz.foo, subbaz.bam, and subfoo.bam.

FOOBAR1, FOOBAR2, FOOBAR3, FOOBAR4.

Examples

- name: Do some foo
  ns2.flatcol.foo:
    foo: '{{ foo }}'
    bar:
      - 1
      - 2
      - 3
    subfoo:
      foo: hoo!

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

bar

string

Some bar.

Referencing myself as bar.

Do not confuse with bar.

Returned: success

Sample: "baz"

Authors

  • Ansible Core Team

  • Someone else (@ansible)