Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
gireg.roussel committed Feb 3, 2025
1 parent f3e8c17 commit dfca72b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions deployment/edge/ansible/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ deploy-vio-on-inventory:

.PHONY: register-inventory-on-gcp-hub ## 🚀 Register the edge devices on the GCP hub
register-inventory-on-gcp-hub:
ansible-playbook -v -i inventory.ini register_edge_on_gcp_hub.yml -e ansible_python_interpreter=.venv/bin/python
ansible-playbook -v -i inventory.ini register_inventory_on_gcp_hub.yml -e ansible_python_interpreter=.venv/bin/python

.PHONY: test-registering-localhost-on-gcp-hub ## 🚀 Test registering localhost on the GCP hub
test-registering-localhost-on-gcp-hub:
ansible-playbook -v -c local -l localhost -i inventory.ini register_edge_on_gcp_hub.yml -e ansible_python_interpreter=.venv/bin/python
.PHONY: test-register-localhost-on-gcp-hub ## 🚀 Test register localhost on the GCP hub
test-register-localhost-on-gcp-hub:
ansible-playbook -v -c local -l localhost -i inventory.ini register_inventory_on_gcp_hub.yml -e ansible_python_interpreter=.venv/bin/python
4 changes: 2 additions & 2 deletions deployment/edge/ansible/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

[edge_1:vars]
EDGE_NAME="edge1"
IP_ADDRESS="10.103.252.192"
IP_ADDRESS="172.23.26.58"

[edge_2]
172.23.26.10 ansible_user=devkit ansible_password=devkit

[edge_2:vars]
EDGE_NAME="edge2"
IP_ADDRESS="10.103.253.2"
IP_ADDRESS="172.23.26.10"

; [localhost]
; 127.0.0.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- name: "Register edge on GCP hub"
- name: "Register inventory on GCP hub"
hosts: all
tasks:
- name: Create edge_ip file
Expand Down

0 comments on commit dfca72b

Please sign in to comment.