diff options
-rw-r--r-- | ansible/.gitignore | 1 | ||||
-rw-r--r-- | ansible/ansible.cfg | 3 | ||||
-rw-r--r-- | ansible/hosts | 1 | ||||
-rw-r--r-- | ansible/knot.yml | 5 | ||||
-rw-r--r-- | ansible/roles/mw-frontend/tasks/main.yml | 6 |
5 files changed, 16 insertions, 0 deletions
diff --git a/ansible/.gitignore b/ansible/.gitignore new file mode 100644 index 0000000..a8b42eb --- /dev/null +++ b/ansible/.gitignore @@ -0,0 +1 @@ +*.retry diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg new file mode 100644 index 0000000..d6d1012 --- /dev/null +++ b/ansible/ansible.cfg @@ -0,0 +1,3 @@ +[defaults] +become_method = sudo +inventory = ./hosts diff --git a/ansible/hosts b/ansible/hosts new file mode 100644 index 0000000..8ba6e80 --- /dev/null +++ b/ansible/hosts @@ -0,0 +1 @@ +knot.trygvis.io diff --git a/ansible/knot.yml b/ansible/knot.yml new file mode 100644 index 0000000..e90e56c --- /dev/null +++ b/ansible/knot.yml @@ -0,0 +1,5 @@ +--- +- hosts: + - knot.trygvis.io + roles: + - mw-frontend diff --git a/ansible/roles/mw-frontend/tasks/main.yml b/ansible/roles/mw-frontend/tasks/main.yml new file mode 100644 index 0000000..9c667d1 --- /dev/null +++ b/ansible/roles/mw-frontend/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: apache config + copy: + dest: /etc/apache/sites-enabled/mw.trygvis.io.conf + content: | + woop! |