mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02: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.
|
# Do any one-time init tasks.
|
||||||
init:
|
init:
|
||||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
@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 \
|
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
|
fi
|
||||||
|
|
||||||
# Refresh development environment after pulling new code.
|
# Refresh development environment after pulling new code.
|
||||||
|
|||||||
Reference in New Issue
Block a user