From 9e27cab6fc42fab895c7e56fc6900cfcb5b6ec05 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 3 Nov 2017 12:42:04 -0400 Subject: [PATCH] English cleaned up. --- roles/cups/tasks/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/roles/cups/tasks/main.yml b/roles/cups/tasks/main.yml index 012aa3685..05dca2a2b 100644 --- a/roles/cups/tasks/main.yml +++ b/roles/cups/tasks/main.yml @@ -1,5 +1,5 @@ # administer this service by browsing to localhost:631 -- name: get the CUPS package installed +- name: Get the CUPS package installed package: name={{ item }} state=present with_items: @@ -8,7 +8,7 @@ tags: - download -- name: Put our own config file in place, to permit local lan admin +- name: Put our own config file in place, to permit local LAN admin template: dest=/etc/cups/cupsd.conf src=cupsd.conf @@ -22,7 +22,7 @@ state=link when: cups_enabled and is_debuntu -- name: Enable services for cups +- name: Enable services for CUPS service: name={{ item }} state=started enabled=yes @@ -31,17 +31,17 @@ - cups-browsed when: cups_enabled and not is_F18 -- name: Enable services for cups for XO laptops +- name: Enable services for CUPS for Fedora 18 (XO laptops) service: name=cups state=started enabled=yes when: cups_enabled and is_F18 -- name: Permit headless admin of CUPS -- only works when cups daemon is running +- name: Permit headless admin of CUPS -- only works when CUPS daemon is running shell: "cupsctl --remote-admin" when: cups_enabled -- name: Disable services for cups +- name: Disable services for CUPS service: name={{ item }} state=stopped enabled=no @@ -50,13 +50,13 @@ - cups-browsed when: not cups_enabled and not is_F18 -- name: Disable services for cups for XO laptops +- name: Disable services for CUPS for Fedora 18 (XO laptops) service: name=cups state=stopped enabled=no when: not cups_enabled and is_F18 -- name: add cups to service list +- name: Add 'cups' to service list ini_file: dest={{ service_filelist }} section=cups option={{ item.option }} @@ -65,7 +65,7 @@ - option: name value: '"Common UNIX Printing System (CUPS)"' - option: description - value: '"CUPS is a modular printing system which allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer."' + value: '"CUPS is a modular printing system which allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer."' - option: installed value: "{{ cups_install }}" - option: enabled