cups: Make sure that correct locales are installed
This commit is contained in:
parent
4e49fa062a
commit
b9a2d06df0
1 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,12 @@
|
||||||
---
|
---
|
||||||
|
- name: Install packages
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: installed
|
||||||
|
with_items:
|
||||||
|
- cups-client
|
||||||
|
- glibc-langpack-fi
|
||||||
|
|
||||||
- name: Check paper size
|
- name: Check paper size
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
|
@ -20,11 +28,6 @@
|
||||||
changed_when: result.rc == 0
|
changed_when: result.rc == 0
|
||||||
when: locale_check.rc != 0
|
when: locale_check.rc != 0
|
||||||
|
|
||||||
- name: Install packages
|
|
||||||
ansible.builtin.package:
|
|
||||||
name: cups-client
|
|
||||||
state: installed
|
|
||||||
|
|
||||||
- name: Create config directory
|
- name: Create config directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/cups
|
path: /etc/cups
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue