mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
call me stuff the way i do stuff
This commit is contained in:
parent
8331b28f5d
commit
0eae57ba2e
6 changed files with 105 additions and 21 deletions
|
|
@ -24,6 +24,7 @@
|
|||
state: present
|
||||
with_items:
|
||||
- htop
|
||||
- awscli
|
||||
- name: Install keyring packages
|
||||
ansible.builtin.apt:
|
||||
name: "{{ item }}"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,17 @@
|
|||
hosts: vps2
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Copy backup file
|
||||
ansible.builtin.copy:
|
||||
src: "../vps2/backup.sh"
|
||||
dest: "/apps/backup.sh"
|
||||
mode: "u=rx,g=rx,o=rx"
|
||||
- name: Configure backup cron
|
||||
ansible.builtin.cron:
|
||||
name: Daily backup
|
||||
minute: "5"
|
||||
hour: "7"
|
||||
job: "/apps/backup.sh"
|
||||
#####
|
||||
# APP: docker registry, /apps/registry
|
||||
#####
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue