Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from denics/patch-1
Browse files Browse the repository at this point in the history
Solve #3
  • Loading branch information
robertdebock committed May 10, 2022
2 parents 8b0033f + 6d11015 commit 7a90923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The default values for the variables are set in `defaults/main.yml`:
# defaults file for cups
# Allow remote access
cups_serveralias: "*"
cups_listen: "localhost:631"
# Share local printers on the local network.
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Allow remote access
cups_listen: "localhost:631"
cups_serveralias: "*"

# Share local printers on the local network.
cups_browsing: "Off"
Expand Down
1 change: 1 addition & 0 deletions templates/cupsd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ LogLevel warn
PreserveJobHistory {{ cups_preserve_job_history }}

# Only listen for connections from the local machine.
ServerAlias {{ cups_serveralias }}
Listen {{ cups_listen }}
Listen /run/cups/cups.sock

Expand Down

0 comments on commit 7a90923

Please sign in to comment.