community.general/lib/ansible/plugins
Pilou c07ba82d3e Scaleway inventory: allows to connect via private IP (#44342)
* scaleway inventory: remove useless duplicate

* scaleway inventory: allows to connect using private ip

ansible_host was hardcoded and it was not possible to connect using
private addresses.
This allows to define multiple host variables, values are templates
which can use hosts details send by API. For example this config file
use private address and defines two variables:

    plugin: scaleway
    hostnames:
      - hostname
    variables:
      ansible_host: private_ip
      state: state
      image: image.name
    regions:
      - ams1

inventory will looks like:

    {
        "_meta": {
            "hostvars": {
                "testhost": {
                    "ansible_host": "10.1.1.1",
                    "arch": "x86_64",
                    "commercial_type": "START1-M",
                    "hostname": "testhost",
                    "id": "af669464-0c74-4c89-8573-9fe763028448",
                    "image": "CentOS 7.4",
                    "organization": "2cc9a115-380d-4ac0-ba4b-8947eee71325",
                    "public_ipv4": "163.172.1.1",
                    "public_ipv6": "2001:bc8::1",
                    "state": "running",
                    "tags": [
                        "testtag"
                    ]
                }
            }
        },
        [...]
    }
2018-08-29 12:14:12 -04:00
..
action win_reboot: fix minor issues with the latest refactor (#44740) 2018-08-28 17:25:37 -04:00
cache Do not try to import simplejson in jsonfile.py (#40983) 2018-06-01 11:24:57 -07:00
callback Bugfixes and integration tests for 'default' callback plugin 2018-08-15 07:56:17 -07:00
cliconf Fix rollback option in cli_config module (#44834) 2018-08-29 21:00:11 +05:30
connection Move plugin option settings. (#44774) 2018-08-28 17:30:50 -04:00
filter Share the implementation of hashing for both vars_prompt and password_hash (#21215) 2018-08-27 08:40:41 -07:00
httpapi New modules and updated HTTP API plugin for FTD devices (#44578) 2018-08-29 15:48:10 +02:00
inventory Scaleway inventory: allows to connect via private IP (#44342) 2018-08-29 12:14:12 -04:00
lookup Fix subelements lookup docs example (#44782) 2018-08-28 16:52:07 -04:00
netconf Update netconf_config module (#44379) 2018-08-21 20:41:18 +05:30
shell windows async: return pipeline output in case of a failure (#44807) 2018-08-29 16:13:31 +02:00
strategy Add new host_pinned strategy (#44586) 2018-08-23 20:16:32 -04:00
terminal new module exos_config (#43902) 2018-08-15 14:56:50 -07:00
test Added an async 'started' test (like 'finished') (#43445) 2018-08-24 01:29:34 +02:00
vars Allow loading dirs from role defaults/vars (#36357) 2018-04-10 17:14:38 -04:00
__init__.py inventory plugins: add test about config API usage (#41888) 2018-07-19 10:45:45 -07:00
loader.py Catch exceptions when importing plugins, and display an appropriate warning. Fixes #43237 (#43501) 2018-07-31 16:00:04 -05:00