抱歉打错了。重新问,下边两个其它都一样。就是在-i “localhost”,后面一个没加域名,一个加了域名。请问加与不加,有什么区别?谢谢
sudo ansible-playbook -c local --limit "localhost:127.0.0.1" ../edx_sandbox.yml \
-i "localhost," -e 'EDXAPP_PREVIEW_LMS_BASE=
preview.abc.com EDXAPP_LMS_BASE=
abc.com EDXAPP_LMS_PREVIEW_NGINX_PORT=80 EDXAPP_CMS_NGINX_PORT=80 EDXAPP_LMS_NGINX_PORT=80 edx_platform_version=master '
和
sudo ansible-playbook -c local --limit "localhost:127.0.0.1" ../edx_sandbox.yml \
-i "localhost,
abc.com," -e 'EDXAPP_PREVIEW_LMS_BASE=
preview.abc.com EDXAPP_LMS_BASE=
abc.com EDXAPP_LMS_PREVIEW_NGINX_PORT=80 EDXAPP_CMS_NGINX_PORT=80 EDXAPP_LMS_NGINX_PORT=80 edx_platform_version=master '