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

29 lines
596 B
YAML
Executable File

# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
---
- name: "DEBUG: base Debian.yml"
debug:
verbosity: 1
msg: "DEBUG: Including base Debian.yml"
- name: "set_fact OS flavour"
set_fact:
# ansible_facts
BOX_OS_FLAVOR: "{{ansible_distribution_release}}"
- name: "dont make apt install start servives, to be like Gentoo"
set_fact:
apt_env:
RUNLEVEL: 1
- name: "apt-get update"
apt:
force_apt_get: true
update_cache: true
ignore_errors: "{{ BASE_PKG_IGNORE_ERRORS }}"
when:
- false
- "BASE_ARE_CONNECTED != ''"