Commit 43e09d71 authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Adding name to cron for home cleanup, clean up misc role tasks (moving

acl package installation to common, remove conditional cupsd ErrorPolicy
setting for Jessie in the buster version.
parent d84b39f7
......@@ -25,7 +25,7 @@
- name: Install base packages
include: "{{ includes }}/install-package-apt.yml"
with_items:
- jed,less,screen,links,wget,rsync,bzip2,unzip,strace,lsof
- jed,less,screen,links,wget,rsync,bzip2,unzip,strace,lsof,acl
- tcpdump,netcat,iputils-arping,nmap,iproute2,mtr-tiny,traceroute
- netmask,iptraf-ng,dnsutils,python-ipaddr
- iotop,iftop,atop,hdparm,pciutils,arpwatch
......
......@@ -45,7 +45,7 @@
backup: yes
dest: /etc/ssh/sshd_config
# TODO: check that these entries are not already set by the default
# config (they are not in jessie)
# config (they are not in buster), check reason for MaxStartups
block: |
# added for fuss-server 6.0
MaxStartups 60
......@@ -76,18 +76,6 @@
with_items:
- cups,foomatic-db-compressed-ppds
# TODO: verify this is still needed
- name: Configure the default error policy for printers
blockinfile:
dest: /etc/cups/cupsd.conf
block: |
# Setting Error Policy
ErrorPolicy retry-job
backup: yes
insertbefore: BOF
when: ansible_distribution == 'Debian' and
ansible_distribution_release == 'jessie'
- name: Install other dependencies required by the AP management scripts
include: "{{ includes }}/install-package-apt.yml"
with_items:
......@@ -111,14 +99,10 @@
command: systemctl daemon-reload
changed_when: False
- name: Install acl
include: "{{ includes }}/install-package-apt.yml"
with_items:
- acl
- name: Add home cleanup script to cron
cron:
cron_file: home-cleanup
name: home cleanup
user: root
job: /usr/share/fuss-server/scripts/home-cleanup
hour: "{{ home_cleanup_time_hour }}"
......
fuss-server (10.0.33) UNRELEASED; urgency=medium
[ Elena Grandi ]
* Make the time of the home cleanup cron configurable.
[ Simone Piccardi ]
* Added name to cron cleanup script to avoid duplication
* Cleanup of misc role tasks
-- Elena Grandi <elena@truelite.it> Tue, 15 Jun 2021 10:47:48 +0200
fuss-server (10.0.32) unstable; urgency=medium
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment