Browse Source

cups: printers.conf changes too often; ignore it

master
Y 1 year ago
parent
commit
2c4c64a945
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      roles/printscan/tasks/main.yml

+ 7
- 0
roles/printscan/tasks/main.yml View File

@@ -10,6 +10,13 @@
msg: printer and scanner
### ⇐ UPSTREAM BEGIN ###

- name: ignore printers.conf, which almost changes on a daily basis
lineinfile:
path: /etc/.gitignore
regexp: "^/cups/printers.conf"
line: "/cups/printers.conf*"
insertafter: EOF

- name: install software
package:
name: "{{item}}"


Loading…
Cancel
Save