Skip to content

Commit

Permalink
Allow all hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed May 27, 2020
1 parent 370878b commit 93c3b75
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions deployment/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- import_playbook: digital_ocean_droplet.yml
- import_playbook: docker.yml
- import_playbook: repository.yml
7 changes: 7 additions & 0 deletions deployment/repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- hosts: do
tasks:
- name: Clone repository
git:
repo: 'https://github.com/Quansight/ansible-django-do-tutorial.git'
dest: /root/ansible-django-do-tutorial
2 changes: 1 addition & 1 deletion sample/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']


# Application definition
Expand Down

0 comments on commit 93c3b75

Please sign in to comment.