Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
adbe58b0
Verified
Commit
adbe58b0
authored
4 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Last version of clean_servers.yml
parent
82732396
No related branches found
Branches containing commit
No related tags found
1 merge request
!190
Cleanup
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
70debconf
+3
-0
3 additions, 0 deletions
70debconf
clean_servers.yml
+16
-5
16 additions, 5 deletions
clean_servers.yml
ldap.conf
+17
-0
17 additions, 0 deletions
ldap.conf
with
36 additions
and
5 deletions
70debconf
0 → 100644
+
3
−
0
View file @
adbe58b0
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
This diff is collapsed.
Click to expand it.
clean_servers.yml
+
16
−
5
View file @
adbe58b0
...
...
@@ -3,7 +3,7 @@
# This is a special playbook to clean old stuff from BCFG2
# it will disapear when BCFG2 will disapear
# `apt-mark showmanual` is a good start
-
hosts
:
server
,test_vm
-
hosts
:
server
tasks
:
-
name
:
Clean up unused packages
apt
:
...
...
@@ -67,7 +67,6 @@
state
:
absent
loop
:
-
/etc/apt/apt.conf.d/01aptitude
-
/etc/apt/apt.conf.d/70debconf
-
/etc/apt-dater-host.conf
-
/etc/bcfg2.conf
-
/etc/bcfg2.conf.ucf-dist
...
...
@@ -93,19 +92,31 @@
-
/etc/default/bcfg2.ucf-dist
-
/etc/icinga2
-
/etc/init.d/bcfg2
-
/etc/ldap/ldap.conf
-
/etc/letsencrypt/conf.d/localhost.ini
-
/etc/monit
-
/etc/munin
-
/etc/nagios
-
/etc/nagios-plugins
-
/etc/nginx/sites-available/status
-
/etc/nginx/sites-enabled/status
#
- /etc/nginx/sites-available/status
#
- /etc/nginx/sites-enabled/status
-
/etc/nss-ldapd.conf
-
/etc/nut
-
/etc/pnp4nagios
-
/etc/sudoers.d/apt-dater-host
-
/var/local/aptdater
-
name
:
Copy Debian ldap.conf
template
:
src
:
ldap.conf
dest
:
/etc/ldap/ldap.conf
mode
:
0644
-
name
:
Copy Debian 70debconf
template
:
src
:
70debconf
dest
:
/etc/apt/apt.conf.d/70debconf
mode
:
0644
# - name: Upgrade
# apt:
# upgrade: dist
...
...
This diff is collapsed.
Click to expand it.
ldap.conf
0 → 100644
+
17
−
0
View file @
adbe58b0
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example,dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
# TLS certificates (needed for GnuTLS)
TLS_CACERT
/
etc
/
ssl
/
certs
/
ca
-
certificates
.
crt
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment