Skip to content

Commit

Permalink
Moved NOTE block
Browse files Browse the repository at this point in the history
  • Loading branch information
sugetha24 committed Jul 19, 2023
1 parent 50a33fc commit 43e3711
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/PR_testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- `wget https://raw.githubusercontent.com/aristanetworks/ansible-cvp/devel/tests/PR_testing/install.sh`
- `sh install.sh <pr-number>`
- This script would place the ansible-cvp PR code base under `persist/arista-ansible` and example playbooks under `persist/PR_testing/examples`
- export the ATD lab password using:
- Export the ATD lab password using:

```shell
export LABPASSPHRASE=`cat /home/coder/.config/code-server/config.yaml| grep "password:" | awk '{print $2}'`
Expand All @@ -31,6 +31,8 @@
ansible-playbook cv_device_v3/device_validate_config_valid.yaml -i inventory.yml
```

> NOTE: If not using ATD update the `ansible_password` in `PR_testing/inventory.yml`.

## Run molecule tests

- Run the molecule test:
Expand All @@ -41,6 +43,6 @@
/home/coder/.local/bin/molecule converge -s cv_device_v3
```

If not using ATD update the `ansible_password` in `ansible_collection/arista/cvp/examples/inventory.yml` and in `PR_testing/inventory.yml`.
> NOTE: If not using ATD update the `ansible_password` in `ansible_collection/arista/cvp/examples/inventory.yml`.

HAPPY TESTING!

0 comments on commit 43e3711

Please sign in to comment.