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

26 lines
828 B
YAML

# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
# APT::Clean-Installed off
- name: "/usr/local/etc/local.d/Whonix-Lati.rc"
blockinfile:
dest: /usr/local/etc/local.d/Whonix-Lati.rc
create: yes
mode: 0770
owner: "{{ BOX_USER_NAME }}"
group: "{{ BOX_ALSO_GROUP }}"
marker: "# {mark} ANSIBLE MANAGED BLOCK base Debian"
insertafter: EOF
block: |
/etc/init.d/console-setup.sh start
when:
- ansible_connection|default('') not in PLAY_CHROOT_CONNECTIONS
- name: /etc/apt/sources.list.d/devuan.list
shell: |
cd /etc/apt/sources.list.d/
grep -q https://deb.devuan.org/merged devuan.list || exit 0
sed -e 's@deb https://deb.devuan.org/merged@deb https://mirrors.dotsrc.org/devuan/merged@' \
/etc/apt/sources.list.d/devuan.list
exit 0