Ignore:
Timestamp:
17 Jan 2020, 11:29:01 (5 years ago)
Author:
uli
Message:

Minor fixes in borg playbook.

Fix permissions set and creat README with usage instructions in backup dir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup-ansible/playbook-install-borg.yml

    r15928 r15936  
    2929#
    3030##
    31 - hosts: h9.waeup.org
     31- hosts: all
    3232  become: yes
    3333  vars:
     
    143143        owner: "root"
    144144        group: "root"
    145         mode: "0744"
     145        mode: "0700"
    146146        force: no
    147147
     
    152152        owner: "root"
    153153        group: "root"
    154         mode: "0744"
     154        mode: "0700"
    155155        force: no
    156156
     
    164164        force: no
    165165    with_items: "{{ borgbackup_servers }}"
     166
     167  - name: "Create borg README on server"
     168    template:
     169        src: "borg-README.txt.j2"
     170        dest: "/root/backup/README-borg.txt"
     171        owner: "root"
     172        group: "root"
     173        mode: "0600"
     174        force: no
    166175
    167176  - name: "Initialize repo"
Note: See TracChangeset for help on using the changeset viewer.