46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
# Copyright 2019 Red Hat, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
---
|
|
# tasks/main.yaml
|
|
borgmatic_task_manager:
|
|
- install
|
|
- config
|
|
|
|
# task/config.yaml
|
|
borgmatic_user_name: root
|
|
borgmatic_user_group: root
|
|
borgmatic_user_home: /root
|
|
|
|
borgmatic_file_config_yaml_dest:
|
|
"{{ borgmatic_user_home }}/.config/borgmatic/config.yaml"
|
|
borgmatic_file_config_yaml_group: "{{ borgmatic_user_group }}"
|
|
borgmatic_file_config_yaml_mode: 0644
|
|
borgmatic_file_config_yaml_owner: "{{ borgmatic_user_name }}"
|
|
borgmatic_file_config_yaml_src: root/.config/borgmatic/config.yaml.j2
|
|
|
|
# tasks/install.yaml
|
|
borgmatic_git_dest: "{{ ansible_user_dir }}/src/github.com/witten/borgmatic"
|
|
borgmatic_git_uri: https://github.com/witten/borgmatic
|
|
borgmatic_git_version: master
|
|
# borgmatic_git_update
|
|
|
|
borgmatic_install_method: pip
|
|
|
|
borgmatic_pip_name: borgmatic
|
|
# borgmatic_pip_executable:
|
|
# borgmatic_pip_extra_args:
|
|
# borgmatic_pip_version:
|
|
# borgmatic_pip_virtualenv_python:
|
|
# borgmatic_pip_virtualenv:
|