mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-21 23:10:05 +00:00
Split static && template files
This commit is contained in:
parent
d7f460685b
commit
efe494f255
@ -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:
|
||||
|
@ -41,6 +41,6 @@
|
||||
|
||||
- name: Install .zshrc
|
||||
copy:
|
||||
src: templates/.zshrc
|
||||
src: static/.zshrc
|
||||
dest: /root/.zshrc
|
||||
force: no
|
@ -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
|
||||
|
@ -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=
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user