Changeset 15928 for main/waeup-ansible


Ignore:
Timestamp:
15 Jan 2020, 07:33:37 (5 years ago)
Author:
uli
Message:

Install scripts to set borg env vars.

When installing borg, provide scripts for all repositories to set local env
vars, namly repository URLs and the borg passphrase. These are normally
cumbersome to in shell commands.

Location:
main/waeup-ansible
Files:
1 added
1 edited

Legend:

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

    r15906 r15928  
    155155        force: no
    156156
     157  - name: "Create env scripts"
     158    template:
     159        src: "borg-env.sh.j2"
     160        dest: "/root/backup/env-{{ item.fqdn }}.sh"
     161        owner: "root"
     162        group: "root"
     163        mode: "0600"
     164        force: no
     165    with_items: "{{ borgbackup_servers }}"
     166
    157167  - name: "Initialize repo"
    158168    command: /root/backup/borg-init.sh
Note: See TracChangeset for help on using the changeset viewer.