mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Verify that .yaml files are discovered as well
This commit is contained in:
parent
1207030427
commit
995d4175c0
2 changed files with 8 additions and 0 deletions
|
@ -198,6 +198,9 @@ def test_ansible_discover_playbooks_single_path():
|
|||
assert ret[playbooks_dir]["playbook1.yml"] == {
|
||||
"fullpath": os.path.join(playbooks_dir, "playbook1.yml")
|
||||
}
|
||||
assert ret[playbooks_dir]["playbook1.yaml"] == {
|
||||
"fullpath": os.path.join(playbooks_dir, "playbook1.yaml")
|
||||
}
|
||||
assert ret[playbooks_dir]["example-playbook2/site.yml"] == {
|
||||
"fullpath": os.path.join(playbooks_dir, "example-playbook2/site.yml"),
|
||||
"custom_inventory": os.path.join(playbooks_dir, "example-playbook2/hosts"),
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- ping:
|
Loading…
Add table
Reference in a new issue