1
0
Fork 0

Add a generic system role

This commit is contained in:
Daniele Tricoli 2022-12-06 20:32:08 +01:00
parent aee0ef2bfe
commit b96d00a9e9
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
apt_become: true
apt_become_user: root

View file

@ -0,0 +1,25 @@
---
- block:
- name: ensure packagekit is absent
ansible.builtin.apt:
name: packagekit
state: absent
- name: ensure systemd.conf.d exists
ansible.builtin.file:
dest: /etc/systemd/systemd.conf.d/
state: directory
mode: 0755
- name: ensure short systemd timeout
ansible.builtin.copy:
dest: /etc/systemd/systemd.conf.d/timeouts.conf
content: |
DefaultTimeoutStopSec=15s
DefaultTimeoutAbortSec=15s
mode: 0644
become: "{{ apt_become }}"
become_user: "{{ apt_become_user }}"

View file

@ -12,4 +12,5 @@
- ../roles/neovim
- ../roles/pipx
- ../roles/starship
- ../roles/system
- ../roles/xinitrc