diff --git a/templates/.gitconfig b/static/.gitconfig similarity index 100% rename from templates/.gitconfig rename to static/.gitconfig diff --git a/templates/.zshrc b/static/.zshrc similarity index 100% rename from templates/.zshrc rename to static/.zshrc diff --git a/templates/blog/deadswitch b/static/blog/deadswitch similarity index 100% rename from templates/blog/deadswitch rename to static/blog/deadswitch diff --git a/templates/blog/imdead.sh b/static/blog/imdead.sh similarity index 100% rename from templates/blog/imdead.sh rename to static/blog/imdead.sh diff --git a/templates/fail2ban/jails.local b/static/fail2ban/jails.local similarity index 100% rename from templates/fail2ban/jails.local rename to static/fail2ban/jails.local diff --git a/templates/goaccess/goaccess.conf b/static/goaccess/goaccess.conf similarity index 100% rename from templates/goaccess/goaccess.conf rename to static/goaccess/goaccess.conf diff --git a/templates/nginx/nginx.conf b/static/nginx/nginx.conf similarity index 100% rename from templates/nginx/nginx.conf rename to static/nginx/nginx.conf diff --git a/tasks/deadswitch.yml b/tasks/deadswitch.yml index 412620c..67c1b38 100644 --- a/tasks/deadswitch.yml +++ b/tasks/deadswitch.yml @@ -6,20 +6,21 @@ - name: Install deadswitch script copy: - src: templates/blog/deadswitch + src: static/blog/deadswitch dest: /usr/local/bin/deadswitch mode: u+rwx - name: Install imdead.sh copy: - src: templates/blog/imdead.sh + src: static/blog/imdead.sh dest: /root/deadman/imdead.sh mode: u+rwx - name: Copy dead patch - template: + copy: src: secrets/dead.patch dest: /root/deadman/dead.patch + mode: u+rwx - name: Install deadtrigger file: diff --git a/tasks/essential.yml b/tasks/essential.yml index 13de178..54f47c1 100644 --- a/tasks/essential.yml +++ b/tasks/essential.yml @@ -41,6 +41,6 @@ - name: Install .zshrc copy: - src: templates/.zshrc + src: static/.zshrc dest: /root/.zshrc force: no \ No newline at end of file diff --git a/tasks/firewall.yml b/tasks/firewall.yml index 848bb3c..e3db21c 100644 --- a/tasks/firewall.yml +++ b/tasks/firewall.yml @@ -23,7 +23,7 @@ - name: Copy fail2ban jail config copy: - src: templates/fail2ban/jails.local + src: static/fail2ban/jails.local dest: /etc/fail2ban/jail.d/jails.local - name: Enable fail2ban service diff --git a/tasks/git.yml b/tasks/git.yml index f25c4d2..1d62698 100644 --- a/tasks/git.yml +++ b/tasks/git.yml @@ -1,7 +1,7 @@ --- - name: Setup git config copy: - src: templates/.gitconfig + src: static/.gitconfig dest: /root/.gitconfig owner: root mode: u=rw,g=,o= diff --git a/tasks/goaccess.yml b/tasks/goaccess.yml index 35feac5..8f9d53e 100644 --- a/tasks/goaccess.yml +++ b/tasks/goaccess.yml @@ -1,5 +1,5 @@ --- - name: Copy goaccess config - template: - src: templates/goaccess/goaccess.conf + copy: + src: static/goaccess/goaccess.conf dest: /etc/goaccess/goaccess.conf diff --git a/tasks/nginx.yml b/tasks/nginx.yml index 1534446..edd90f3 100644 --- a/tasks/nginx.yml +++ b/tasks/nginx.yml @@ -10,8 +10,8 @@ state: directory - name: Install system nginx config - template: - src: templates/nginx/nginx.conf + copy: + src: static/nginx/nginx.conf dest: /etc/nginx/nginx.conf # setup our configs for each host (we don't want to