1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

English cleaned up.

This commit is contained in:
A Holt 2017-11-03 12:42:04 -04:00 committed by GitHub
parent d59d09c4b7
commit 9e27cab6fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# administer this service by browsing to localhost:631 # administer this service by browsing to localhost:631
- name: get the CUPS package installed - name: Get the CUPS package installed
package: name={{ item }} package: name={{ item }}
state=present state=present
with_items: with_items:
@ -8,7 +8,7 @@
tags: tags:
- download - 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 template: dest=/etc/cups/cupsd.conf
src=cupsd.conf src=cupsd.conf
@ -22,7 +22,7 @@
state=link state=link
when: cups_enabled and is_debuntu when: cups_enabled and is_debuntu
- name: Enable services for cups - name: Enable services for CUPS
service: name={{ item }} service: name={{ item }}
state=started state=started
enabled=yes enabled=yes
@ -31,17 +31,17 @@
- cups-browsed - cups-browsed
when: cups_enabled and not is_F18 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 service: name=cups
state=started state=started
enabled=yes enabled=yes
when: cups_enabled and is_F18 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" shell: "cupsctl --remote-admin"
when: cups_enabled when: cups_enabled
- name: Disable services for cups - name: Disable services for CUPS
service: name={{ item }} service: name={{ item }}
state=stopped state=stopped
enabled=no enabled=no
@ -50,13 +50,13 @@
- cups-browsed - cups-browsed
when: not cups_enabled and not is_F18 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 service: name=cups
state=stopped state=stopped
enabled=no enabled=no
when: not cups_enabled and is_F18 when: not cups_enabled and is_F18
- name: add cups to service list - name: Add 'cups' to service list
ini_file: dest={{ service_filelist }} ini_file: dest={{ service_filelist }}
section=cups section=cups
option={{ item.option }} option={{ item.option }}