mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 18:50:04 -03:30
Shift makefile to hostname.
This commit is contained in:
4
Makefile
4
Makefile
@@ -163,9 +163,9 @@ develop:
|
||||
# Do any one-time init tasks.
|
||||
init:
|
||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||
awx-manage register_instance --primary --ip-address=127.0.0.1; \
|
||||
awx-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
else \
|
||||
sudo awx-manage register_instance --primary --ip-address=127.0.0.1; \
|
||||
sudo awx-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
fi
|
||||
|
||||
# Refresh development environment after pulling new code.
|
||||
|
||||
Reference in New Issue
Block a user