-
Notifications
You must be signed in to change notification settings - Fork 257
Test: Make molecule ansible native #6022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gmuloc
merged 23 commits into
aristanetworks:devel
from
joelbreton2:Test--make-molecule-ansible-native
Oct 30, 2025
+431
−520
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2ad394e
make example single dc ansible native
joelbreton2 59fcd6f
fix ansible_only
joelbreton2 8ed507b
fix anta_runner
joelbreton2 cb506de
fix cv_deploy
joelbreton2 c7521b0
modify default molecule and fix example single-dc-ipv6
joelbreton2 bd5afd7
remove duplicate_dict_key: error
joelbreton2 2f9341d
remove duplicate_dict_key: error
joelbreton2 a546adc
fix molecule file
joelbreton2 2233dc2
fix all molecule files
joelbreton2 da5d19c
Merge branch 'devel' into Test--make-molecule-ansible-native
gmuloc bae9881
Merge branch 'devel' into Test--make-molecule-ansible-native
gmuloc 9f1058f
change cv_deploy to not include filename in path
joelbreton2 d900a17
remove unused playbooks
joelbreton2 eeeeb76
remove warnings from eos_cli_config_gen
joelbreton2 582a2de
fix examples with recommandations
joelbreton2 a03b89b
add gathering: explicit to ansible defaults
joelbreton2 465711f
standardize inventory path
joelbreton2 fe8972f
remove PYTHONPATH
joelbreton2 945bfd5
Merge branch 'devel' into Test--make-molecule-ansible-native
joelbreton2 35e91bb
rename to hosts.yml from invenotry,yml
joelbreton2 71559ae
Merge branch 'devel' into Test--make-molecule-ansible-native
joelbreton2 84425f0
Merge branch 'devel' into Test--make-molecule-ansible-native
gmuloc 87ec95b
Merge branch 'devel' into Test--make-molecule-ansible-native
gmuloc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
ansible_collections/arista/avd/extensions/molecule/cv_deploy/inventory/hosts.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| all: | ||
| children: | ||
| SITE1: | ||
| children: | ||
| CVP: | ||
| hosts: | ||
| cvp: | ||
| SITE1_FABRIC: | ||
| children: | ||
| SITE1_SPINES: | ||
| hosts: | ||
| avd-ci-spine1: | ||
| avd-ci-spine2: | ||
| SITE1_LEAFS: | ||
| hosts: | ||
| avd-ci-leaf1: | ||
| avd-ci-leaf2: | ||
| avd-ci-leaf3: | ||
| avd-ci-leaf4: | ||
| SITE1_FABRIC_SERVICES: | ||
| children: | ||
| SITE1_SPINES: | ||
| SITE1_LEAFS: | ||
| SITE1_FABRIC_PORTS: | ||
| children: | ||
| SITE1_SPINES: | ||
| SITE1_LEAFS: |
26 changes: 0 additions & 26 deletions
26
ansible_collections/arista/avd/extensions/molecule/cv_deploy/inventory/inventory.yml
This file was deleted.
Oops, something went wrong.
31 changes: 12 additions & 19 deletions
31
ansible_collections/arista/avd/extensions/molecule/cv_deploy/molecule.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,28 @@ | ||
| --- | ||
| ansible: | ||
| executor: | ||
| backend: ansible-playbook | ||
| args: | ||
| ansible_playbook: | ||
| - --inventory=inventory/ | ||
| env: | ||
| ANSIBLE_FORCE_COLOR: true | ||
| cfg: | ||
| defaults: | ||
| jinja2_extensions: jinja2.ext.loopcontrols,jinja2.ext.do,jinja2.ext.i18n | ||
| gathering: explicit | ||
| scenario: | ||
| converge_sequence: | ||
| - syntax | ||
| - converge | ||
| test_sequence: | ||
| - syntax | ||
| - create | ||
| - converge | ||
| - verify | ||
| - cleanup | ||
| cleanup_sequence: | ||
| - destroy | ||
| dependency: | ||
| name: galaxy | ||
| enabled: false | ||
| driver: | ||
| name: default | ||
| options: | ||
| managed: false | ||
| platforms: | ||
| - name: dummy | ||
| provisioner: | ||
| name: ansible | ||
| config_options: | ||
| defaults: | ||
| jinja2_extensions: 'jinja2.ext.loopcontrols,jinja2.ext.do,jinja2.ext.i18n' | ||
| gathering: explicit | ||
| playbooks: | ||
| converge: converge.yml | ||
| ansible_args: | ||
| - --inventory | ||
| - ${MOLECULE_SCENARIO_DIRECTORY}/inventory/inventory.yml | ||
| verifier: | ||
| name: ansible |
28 changes: 28 additions & 0 deletions
28
ansible_collections/arista/avd/extensions/molecule/cv_workflow/inventory/hosts.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| all: | ||
| children: | ||
| SITE1: | ||
| children: | ||
| CVP: | ||
| hosts: | ||
| cvp: | ||
| SITE1_FABRIC: | ||
| children: | ||
| SITE1_SPINES: | ||
| hosts: | ||
| s1-spine1: | ||
| s1-spine2: | ||
| SITE1_LEAFS: | ||
| hosts: | ||
| s1-leaf1: | ||
| s1-leaf2: | ||
| s1-leaf3: | ||
| s1-leaf4: | ||
| SITE1_FABRIC_SERVICES: | ||
| children: | ||
| SITE1_SPINES: | ||
| SITE1_LEAFS: | ||
| SITE1_FABRIC_PORTS: | ||
| children: | ||
| SITE1_SPINES: | ||
| SITE1_LEAFS: |
26 changes: 0 additions & 26 deletions
26
ansible_collections/arista/avd/extensions/molecule/cv_workflow/inventory/inventory.yml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| ansible: | ||
| executor: | ||
| backend: ansible-playbook | ||
| args: | ||
| ansible_playbook: | ||
| - --inventory=inventory/ | ||
| env: | ||
| ANSIBLE_FORCE_COLOR: true | ||
| cfg: | ||
| defaults: | ||
| jinja2_extensions: jinja2.ext.loopcontrols,jinja2.ext.do,jinja2.ext.i18n | ||
| gathering: explicit | ||
| scenario: | ||
| converge_sequence: | ||
| - syntax | ||
| - converge | ||
| - verify | ||
| test_sequence: | ||
| - syntax | ||
| - create | ||
| - converge | ||
| - idempotence | ||
| - verify | ||
| cleanup_sequence: | ||
| - destroy | ||
|
|
||
| dependency: | ||
| name: galaxy | ||
| enabled: false | ||
|
|
||
| verifier: | ||
| name: ansible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 12 additions & 10 deletions
22
ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/inventory/hosts.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,16 @@ | ||
| --- | ||
| test_hosts: | ||
| all: | ||
| children: | ||
| IGNORE_IN_PYTEST: | ||
| test_hosts: | ||
| children: | ||
| IGNORE_IN_PYTEST: | ||
| hosts: | ||
| host_inline_jinja: | ||
| hosts: | ||
| host_inline_jinja: | ||
| hosts: | ||
| host_inline_jinja: | ||
| host1: | ||
| host2: | ||
| host3: | ||
| host4: | ||
| host5: | ||
| host6: | ||
| host1: | ||
| host2: | ||
| host3: | ||
| host4: | ||
| host5: | ||
| host6: |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.