This repository has been archived on 2024-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
sysconfig/roles/consolefont/tasks/main.yml

19 lines
440 B
YAML

---
- name: consolefont | Change the console font to ter-h22b
lineinfile:
path: /etc/conf.d/consolefont
state: present
regexp: '^consolefont='
line: 'consolefont="ter-h22b.psf.gz"'
owner: root
group: root
mode: 0644
validate: 'grep -F "ter-h22b" %s'
- name: consolefont | Start consolefont service on runlevel 'boot'
service:
name: consolefont
runlevel: boot
enabled: yes
state: started