mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Have to setup the proper mime-types before importing SImpleHttpServer
This commit is contained in:
parent
7af2632c87
commit
a8d52e3e94
2 changed files with 2 additions and 4 deletions
|
@ -42,9 +42,6 @@ unicode:
|
||||||
test_templating_settings:
|
test_templating_settings:
|
||||||
ansible-playbook test_templating_settings.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
|
ansible-playbook test_templating_settings.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
|
||||||
|
|
||||||
mine:
|
|
||||||
ansible-playbook mine.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
|
|
||||||
|
|
||||||
non_destructive:
|
non_destructive:
|
||||||
ansible-playbook non_destructive.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
|
ansible-playbook non_destructive.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import mimetypes
|
import mimetypes
|
||||||
import SimpleHTTPServer
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
mimetypes.init()
|
||||||
mimetypes.add_type('application/json', '.json')
|
mimetypes.add_type('application/json', '.json')
|
||||||
|
import SimpleHTTPServer
|
||||||
SimpleHTTPServer.test()
|
SimpleHTTPServer.test()
|
||||||
|
|
Loading…
Reference in a new issue