mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Shift makefile to hostname.
This commit is contained in:
parent
c3b962ced5
commit
f890b6daa7
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user