Skip to content

Commit

Permalink
Add test and production inventory group to the playbook project (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
shatakshiiii authored Nov 7, 2024
1 parent 3d2126f commit 49fee76
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ all:
hosts:
switch1:
switch2:
production:
hosts:
server1:
ansible_host: 192.168.1.101
server2:
ansible_host: 192.168.1.102
test:
hosts:
server3:
ansible_host: 192.168.1.103
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
http_port: 80
app_version: "1.0.0"
10 changes: 10 additions & 0 deletions tests/fixtures/project/playbook_project/inventory/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ all:
hosts:
switch1:
switch2:
production:
hosts:
server1:
ansible_host: 192.168.1.101
server2:
ansible_host: 192.168.1.102
test:
hosts:
server3:
ansible_host: 192.168.1.103

0 comments on commit 49fee76

Please sign in to comment.