base_role/tasks/Devuan.yml
2024-01-09 15:39:19 +00:00

26 lines
833 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