1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests
corubba 429d8c8cfb Migrate to options
Because the lxc plugin was only using PlayContext properties, using host
vars like `ansible_lxc_host` didn't work. This is fixed by instead using
the `get_option` method inherited from `AnsiblePlugin`.
The options are not yet available in the `__init__` function, so the
determination of the container name is moved to the `_connect` method,
which is the first time it is actually needed.
The default for the `remote_addr` option is removed, because the string
`inventory_hostname` is not very useful. At all. This seams to have been
spread with copy&paste and a bit of cargo culting. The variable priority
already takes care of setting the value.
2023-10-08 18:42:27 +02:00
..
integration Add executable option to cargo (#7352) 2023-10-06 07:41:02 +02:00
sanity Add ignore for 2.17. 2023-09-20 19:39:24 +02:00
unit Migrate to options 2023-10-08 18:42:27 +02:00
utils CI: Stop restricting idna (#6954) 2023-07-16 12:51:11 +02:00
.gitignore Add more default license and copyright notices (#5087) 2022-08-08 08:44:19 +02:00
config.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00