mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-27 00:11:43 -07:00
[PR #7533/2a5e7c33 backport][stable-8] Add test fqdn_valid (#7567)
Add test fqdn_valid (#7533)
* Add test fqdn_valid
* Add integration test fqdn_valid
* Add changelogs 7533-add-test-fqdn_valid
* Fix changelogs filename 7533-add-test-fqdn_valid.yml
* Add runme.* to install PyPI package fqdn and run the test.
* Remove changelog. New tests are documented by their version_added + short_description.
* Guarded import fqdn.
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/test_fqdn_valid/aliases
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add tests/fqdn_valid.py maintained by vbotka.
* Fix integration. Add explicit collections to test_fqdn_valid
* Fix integration. Remove unused import ansible.errors
* Fix PEP8 E275
* Fix E402 module level import not at top of file.
* Fix E275 missing whitespace after keyword
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/test/fqdn_valid.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 2a5e7c33df
)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
This commit is contained in:
parent
76d011ed4b
commit
a60cba237f
8 changed files with 213 additions and 0 deletions
15
tests/integration/targets/test_fqdn_valid/vars/main.yml
Normal file
15
tests/integration/targets/test_fqdn_valid/vars/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
names1:
|
||||
- srv.example.com
|
||||
- 9rv.example.com
|
||||
- -rv.example.com
|
||||
- srv
|
||||
- 9rv
|
||||
- -rv
|
||||
- s_v
|
||||
names2: [9rv, -rv, s_v]
|
||||
names3: [9rv, srv.x, s_v.x.y, s_v-.x.y]
|
Loading…
Add table
Add a link
Reference in a new issue