1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add ipv4 example to linode inventory docs (#3200) (#3208)

* Add ipv4 example to linode inventory

* Update plugins/inventory/linode.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 432c891487)

Co-authored-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
patchback[bot] 2021-08-15 13:25:22 +02:00 committed by GitHub
parent bc02dc4c44
commit 9c36a23a2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,10 @@ groups:
webservers: "'web' in (tags|list)" webservers: "'web' in (tags|list)"
mailservers: "'mail' in (tags|list)" mailservers: "'mail' in (tags|list)"
compose: compose:
# By default, Ansible tries to connect to the label of the instance.
# Since that might not be a valid name to connect to, you can
# replace it with the first IPv4 address of the linode as follows:
ansible_ssh_host: ipv4[0]
ansible_port: 2222 ansible_port: 2222
''' '''