From 744db211ed93fb372285a5756578928c9d002981 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 19 Apr 2020 16:05:25 +0100 Subject: [PATCH] Install and enable CUPS --- roles/arch/tasks/main.yml | 1 + roles/arch/tasks/packages-cli.yml | 1 + roles/arch/tasks/printing.yml | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 roles/arch/tasks/printing.yml diff --git a/roles/arch/tasks/main.yml b/roles/arch/tasks/main.yml index bef6efa..445d542 100644 --- a/roles/arch/tasks/main.yml +++ b/roles/arch/tasks/main.yml @@ -6,3 +6,4 @@ - include: ssh.yml - include: solokeys.yml - include: locale.yml +- include: printing.yml diff --git a/roles/arch/tasks/packages-cli.yml b/roles/arch/tasks/packages-cli.yml index 8f5db53..54a2f0c 100644 --- a/roles/arch/tasks/packages-cli.yml +++ b/roles/arch/tasks/packages-cli.yml @@ -19,6 +19,7 @@ - bc - bind-tools - clang + - cups - git - gnupg - lldb diff --git a/roles/arch/tasks/printing.yml b/roles/arch/tasks/printing.yml new file mode 100644 index 0000000..65faf50 --- /dev/null +++ b/roles/arch/tasks/printing.yml @@ -0,0 +1,7 @@ +--- +- name: Enable CUPS + become: true + systemd: + name: org.cups.cupsd.service + enabled: yes + state: started