diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-02-24 10:31:28 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-02-24 10:31:28 +0100 |
commit | 6a8cf1a8888d570e33abb08e745d8f5689b0e64e (patch) | |
tree | ac1079d4273c6300c62be437c181c10dffbeae0e | |
parent | 801177d16ccc9eeb14d9ccc3278420b90e207639 (diff) | |
download | infra-6a8cf1a8888d570e33abb08e745d8f5689b0e64e.tar.gz infra-6a8cf1a8888d570e33abb08e745d8f5689b0e64e.tar.bz2 infra-6a8cf1a8888d570e33abb08e745d8f5689b0e64e.tar.xz infra-6a8cf1a8888d570e33abb08e745d8f5689b0e64e.zip |
wip
-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! |