base_role/vars/Linux.yml
embed@git.macaw.me b50fd16591 first
2024-01-06 01:38:28 +00:00

52 lines
1.5 KiB
YAML
Executable File

# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
base_pip_ignore_errors: true
base_rsync_opts_linux:
- "-i"
# Unexpected remote arg: u'--chown=root:adm'
- "{{ '-4' if ansible_distribution == 'Debian' else '--chown=root:' + BOX_ALSO_GROUP }}"
# - "--relative"
- "--copy-links"
- "--perms"
- "--times"
- "--update"
# rsync: --inplace cannot be used with --delay-updates which is hard-coded
# - "--inplace"
- "--exclude=*~"
- "--exclude=*.bak"
- "--exclude=*.junk"
- "--exclude=.#*"
base_rsync_opts_msys:
- "-i"
# Unexpected remote arg: u'--chown=root:adm'
- "{{ '-4' if ansible_distribution == 'Debian' else '--chown=root:' + BOX_ALSO_GROUP }}"
- "--copy-links"
- "--times"
- "--update"
# rsync: --inplace cannot be used with --delay-updates which is hard-coded
# - "--inplace"
- "--exclude=*~"
- "--exclude=*.bak"
- "--exclude=*.junk"
- "--exclude=.#*"
base_rsync_opts: "{{ base_rsync_opts_msys if ansible_distribution == 'Msys' else base_rsync_opts_linux }}"
# The subsystem type we run in.
#
# Options:
# '' - Nothing special
# lxc - Linux Containers
# openvz - Linux OpenVZ
# prefix - Prefix
# uml - Usermode Linux
# vserver - Linux vserver
# xen0 - Xen0 Domain
# xenU - XenU Domain
rc_subsystem_type: "{{ ansible_virtualization_type | replace('NA', '') }}"
base_reinstall_pip_vendor: "{{ ansible_distribution == 'Msys' }}"
base_also_users: "{{BASE_ALSO_USERS}}"