Skip to content

Commit

Permalink
Add integration testing inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
davestephens committed Feb 18, 2021
1 parent 2008a21 commit 4effac5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: ansible-galaxy install -r requirements.yml

- name: Run playbook
run: ansible-playbook -i inventories/sample/inventory nas.yml
run: ansible-playbook -i tests/inventories/integration_testing/inventory nas.yml
15 changes: 15 additions & 0 deletions tests/inventories/integration_testing/group_vars/nas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## ._____. .__
## _____ ____ _____|__\_ |__ | | ____ ____ _____ ______
## \__ \ / \ / ___/ || __ \| | _/ __ \ ______ / \\__ \ / ___/
## / __ \| | \\___ \| || \_\ \ |_\ ___/ /_____/ | | \/ __ \_\___ \
## (____ /___| /____ >__||___ /____/\___ > |___| (____ /____ >
## \/ \/ \/ \/ \/ \/ \/ \/
## a n s i b l e - n a s https://github.com/davestephens/ansible-nas

# Add your all.yml config overrides to this file. See group_vars/all.yml for all possible settings.

# Example options
ansible_nas_hostname: ansible-nas-test
ansible_nas_timezone: Europe/London


14 changes: 14 additions & 0 deletions tests/inventories/integration_testing/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## ._____. .__
## _____ ____ _____|__\_ |__ | | ____ ____ _____ ______
## \__ \ / \ / ___/ || __ \| | _/ __ \ ______ / \\__ \ / ___/
## / __ \| | \\___ \| || \_\ \ |_\ ___/ /_____/ | | \/ __ \_\___ \
## (____ /___| /____ >__||___ /____/\___ > |___| (____ /____ >
## \/ \/ \/ \/ \/ \/ \/ \/
## a n s i b l e - n a s https://github.com/davestephens/ansible-nas


[all]
ansible-nas ansible_connection=local ansible_host=localhost

[nas]
ansible-nas

0 comments on commit 4effac5

Please sign in to comment.