Split static && template files

This commit is contained in:
CPunch 2022-08-02 13:38:55 -05:00
parent d7f460685b
commit efe494f255
13 changed files with 11 additions and 10 deletions

View File

@ -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:

View File

@ -41,6 +41,6 @@
- name: Install .zshrc
copy:
src: templates/.zshrc
src: static/.zshrc
dest: /root/.zshrc
force: no

View File

@ -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

View File

@ -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=

View File

@ -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

View File

@ -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