From ff35428c7ad88938cd47c6586732bc57f1fe6bd7 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 4 Dec 2020 18:01:08 -0500 Subject: [PATCH] Add ansible directories and configure hosts for all projects --- prod/git-jeremydormitzer-com/ansible/.envrc | 1 + prod/git-jeremydormitzer-com/ansible/hosts.ini | 1 + prod/justin-ghost-site/ansible/.envrc | 1 + prod/justin-ghost-site/ansible/hosts.ini | 1 + prod/syncthing/ansible/.envrc | 1 + prod/syncthing/ansible/hosts.ini | 1 + prod/web-server/ansible/.envrc | 1 + prod/web-server/ansible/hosts.ini | 2 ++ 8 files changed, 9 insertions(+) create mode 100644 prod/git-jeremydormitzer-com/ansible/.envrc create mode 100644 prod/git-jeremydormitzer-com/ansible/hosts.ini create mode 100644 prod/justin-ghost-site/ansible/.envrc create mode 100644 prod/justin-ghost-site/ansible/hosts.ini create mode 100644 prod/syncthing/ansible/.envrc create mode 100644 prod/syncthing/ansible/hosts.ini create mode 100644 prod/web-server/ansible/.envrc create mode 100644 prod/web-server/ansible/hosts.ini diff --git a/prod/git-jeremydormitzer-com/ansible/.envrc b/prod/git-jeremydormitzer-com/ansible/.envrc new file mode 100644 index 0000000..0512d72 --- /dev/null +++ b/prod/git-jeremydormitzer-com/ansible/.envrc @@ -0,0 +1 @@ +export ANSIBLE_INVENTORY="$(expand_path hosts.ini)" diff --git a/prod/git-jeremydormitzer-com/ansible/hosts.ini b/prod/git-jeremydormitzer-com/ansible/hosts.ini new file mode 100644 index 0000000..da66b1c --- /dev/null +++ b/prod/git-jeremydormitzer-com/ansible/hosts.ini @@ -0,0 +1 @@ +git.jeremydormitzer.com \ No newline at end of file diff --git a/prod/justin-ghost-site/ansible/.envrc b/prod/justin-ghost-site/ansible/.envrc new file mode 100644 index 0000000..0512d72 --- /dev/null +++ b/prod/justin-ghost-site/ansible/.envrc @@ -0,0 +1 @@ +export ANSIBLE_INVENTORY="$(expand_path hosts.ini)" diff --git a/prod/justin-ghost-site/ansible/hosts.ini b/prod/justin-ghost-site/ansible/hosts.ini new file mode 100644 index 0000000..f563a28 --- /dev/null +++ b/prod/justin-ghost-site/ansible/hosts.ini @@ -0,0 +1 @@ +justindormitzer.com ansible_host=167.71.186.105 ansible_user=root \ No newline at end of file diff --git a/prod/syncthing/ansible/.envrc b/prod/syncthing/ansible/.envrc new file mode 100644 index 0000000..0512d72 --- /dev/null +++ b/prod/syncthing/ansible/.envrc @@ -0,0 +1 @@ +export ANSIBLE_INVENTORY="$(expand_path hosts.ini)" diff --git a/prod/syncthing/ansible/hosts.ini b/prod/syncthing/ansible/hosts.ini new file mode 100644 index 0000000..3ef82f9 --- /dev/null +++ b/prod/syncthing/ansible/hosts.ini @@ -0,0 +1 @@ +syncthing.jeremydormitzer.com \ No newline at end of file diff --git a/prod/web-server/ansible/.envrc b/prod/web-server/ansible/.envrc new file mode 100644 index 0000000..0512d72 --- /dev/null +++ b/prod/web-server/ansible/.envrc @@ -0,0 +1 @@ +export ANSIBLE_INVENTORY="$(expand_path hosts.ini)" diff --git a/prod/web-server/ansible/hosts.ini b/prod/web-server/ansible/hosts.ini new file mode 100644 index 0000000..e3ecc05 --- /dev/null +++ b/prod/web-server/ansible/hosts.ini @@ -0,0 +1,2 @@ +jeremydormitzer.com +wallabag.jeremydormitzer.com \ No newline at end of file