summaryrefslogtreecommitdiff
path: root/roles/sane_debian_system
AgeCommit message (Collapse)AuthorFilesLines
2023-06-07chore: use import_tasks instead of includeLars Wirzenius1-2/+5
Sponsored-by: author
2023-05-21sane_debian_system: drop "warn: false" for newer AnsibleLars Wirzenius1-4/+1
Sponsored-by: author
2023-04-30sane-debian-system: install ntp if systemd-timesyncd isn't availableLars Wirzenius1-1/+8
Sponsored-by: author
2023-04-22feat(sensible-debian-system): install systemd-timesyncdLars Wirzenius2-0/+2
I prefer this over the old ntp package. This means that the role no longer works on Debian systems prior to 11. Sponsored-by: author
2023-04-22fix: use bullseye, not buster, Debian releaseLars Wirzenius1-3/+2
Sponsored-by: author
2022-09-04fix: drop adding hostname to /etc/hosts as an alias for 127.0.0.1Lars Wirzenius2-8/+0
It doesn't seem to serve any useful purpose, but it bothers a Puomi router then servers 127.0.0.1 as its own address to its DHCP clients. Sponsored-by: author
2022-07-11chore(sane_debian_system role): run off Ansible warning aboutLars Wirzenius1-0/+2
Ansible warns about using apt-get instead of the apt module. However, I don't think the module can do what the command does. Shut up the warning. Sponsored-by: author
2022-04-30fix(sane_debian_system/apt): allow root to use sudo without passwordLars Wirzenius1-1/+1
Previously, wrong username was used in sudo config. Sponsored-by: author
2022-04-24fix: allow root to use sudoLars Wirzenius1-0/+7
Sponsored-by: author
2022-04-24fix: start dbus before using hostname module, relying on systemdLars Wirzenius1-0/+7
Sponsored-by: author
2022-01-29don't install ntp, use Debian's default of systemd-timesyncd insteadLars Wirzenius1-1/+0
Sponsored-by: author
2021-12-31fix: set hostname without systemdLars Wirzenius1-1/+1
Sponsored-by: author
2021-12-31fix: don't have a default hostname valueLars Wirzenius1-2/+2
Sponsored-by: author
2021-12-28sane_debian_system: avoid apt-key for adding repository signing keysLars Wirzenius1-9/+13
Debian has decided to deprecate apt-key, though I can't find out why. Sponsored-by: author
2021-12-12fix: install gpg, for apt key installationLars Wirzenius1-1/+2
Not gnupg (see earlier commit), but gpgv doesn't seem to be enough. Bummer. Sponsored-by: author
2021-12-08fix: drop installation of gnupgLars Wirzenius1-2/+1
gnupg drags in a lot of desktop-oriented stuff, which can make logins to servers quite slow. nalanda.liw.fi logins took 90 seconds because of this. Sponsored-by: author
2021-09-16fix: add impl to bindings files for new SubplotLars Wirzenius1-4/+12
Sponsored-by: author
2021-09-09turn off Ansible warning for using apt-get in shellLars Wirzenius1-0/+2
Sponsored-by: author
2021-08-20fix: tell Ansible to use python3Lars Wirzenius1-1/+2
Sponsored-by: author
2021-08-20fix: automatically handle stable becoming bullseyeLars Wirzenius1-15/+14
Sponsored-by: author
2021-07-12Revert "fix: sane_debian_system setting hostname"Lars Wirzenius1-4/+3
This reverts commit 028980c06c069914823ec965e413f272b0ae0e83.
2021-07-07fix: make sure gnupg is installed before adding apt keysLars Wirzenius1-0/+4
On the Debian 11 cloud image it's not installed by default. Sponsored-by: author
2021-07-07fix: sane_debian_system setting hostnameLars Wirzenius1-3/+4
This avoids the Ansible hostname module, which breaks post-Python3.6, because they removed platform.linux_didstribution. Sigh. Sponsored-by: author
2021-03-31feat! default sane_debian_hostname to inventory hostnameLars Wirzenius3-5/+29
Doesn't break anything if hostname was already set, but just in case, bump version number, which means any users of this role need to be upgraded.
2020-11-04feat! make all sane_debian_system variables be prefixed properlyLars Wirzenius6-36/+27
This is a breaking change.
2020-11-01sane_debian_system: check that debian_codename is setLars Wirzenius1-0/+15
2020-10-18fix(sane_debian_system): set hostname via AnsibleLars Wirzenius4-12/+25
2020-10-11fix: syntax non-errorLars Wirzenius1-1/+1
2020-10-10test(sane_debian_system): add subplot scenariosLars Wirzenius5-0/+77
2020-09-08fix(sane_debian_system): install sudoLars Wirzenius1-0/+4
2019-02-25Change: use apt with list of packages, intead of loopingLars Wirzenius1-2/+1
2019-01-06Change: default Debian mirrorLars Wirzenius1-1/+1
2018-02-25Add: if the initial apt setup, ignore the failureLars Wirzenius1-0/+8
This lets us get past a mistake in the sources.list, such as a badly set debian_codename. Add: ignore more apt errors in initial setup
2018-02-25Add: sanity check: is debian_codename set?Lars Wirzenius2-1/+11
I couldn't get the Ansible "when" clause to work, so this checks it in shell instead. Ugly, but works.
2018-01-10Change: set debian_codename to a never-valid valueLars Wirzenius1-1/+1
This will catch problems where it's inadvertenly set. Not that I've ever mistyped the variable name. Not me. Nope.
2017-10-19Add: in sources_lists signing-key and keyring-package are optionalLars Wirzenius1-0/+2
2017-10-19Fix: don't install -updates/-backports for busterLars Wirzenius1-0/+5
2017-10-14Fix: set ownership, perms for /etc/hostnameLars Wirzenius1-0/+3
2017-10-13Add: install signing key, keyring package via sources_listsLars Wirzenius2-1/+15
2017-04-18Install dbus so timectl works on systemd systemsLars Wirzenius1-0/+4
2017-04-17Set time zone in sane_debian_systemLars Wirzenius2-0/+8
2017-04-15Generate requested locales; fix conditions for hostnameLars Wirzenius2-3/+15
2017-04-15Generate sources.list suitable for unstableLars Wirzenius1-0/+3
2017-04-04Fix apt-transport-https installationLars Wirzenius1-2/+12
We run virtual machines built from a disk image. The image has package lists downloaded, but from far ago. So we update them before installing the https transport. Then we install the transport. Then we fiddle with sources.lists, update package lists and then continue as needed.
2017-04-04Add -backports to sources.list.j2Lars Wirzenius1-0/+1
It's safe to do, since nothing will be installed from there without explicit request.
2017-04-04Fix source.list creation, separate apt updateLars Wirzenius1-4/+7
2017-04-04Fix line for codename-updates to be correctLars Wirzenius1-1/+1
2017-04-04Fix debian-release to be debian-codenameLars Wirzenius1-2/+2
Also, use a more reliable default mirror.
2017-04-04Use underscores, to be systemticLars Wirzenius6-0/+74