Manage general config file.
This commit is contained in:
parent
c5f274356f
commit
b7f3b6073a
|
@ -8,5 +8,5 @@
|
|||
* Manage default preferences file.
|
||||
* Ensure to install some additionnals tools (aptitude,…).
|
||||
* Ensure to remove really useless packages (laptop-detect, tasksel,…).
|
||||
* Manage periodic, dpkg config files.
|
||||
* Manage general, periodic and dpkg config files.
|
||||
* Purge default configuration files sets by others apps.
|
||||
|
|
|
@ -48,6 +48,7 @@ Manage APT repos, preferences and configuration for IPR's servers.
|
|||
## Configuration
|
||||
|
||||
### APT Configuration
|
||||
- Set general APT configurations.
|
||||
- Set periodic actions.
|
||||
- Set dpkg default values.
|
||||
- Purge default configuration files sets by others apps.
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
with_items:
|
||||
- "etc/apt/apt.conf.d/10general"
|
||||
- "etc/apt/apt.conf.d/10periodic"
|
||||
|
||||
- name: CONFIG dpkg
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
APT
|
||||
{
|
||||
APT::autoclean "1";
|
||||
APT::clean-installed "1";
|
||||
}
|
||||
|
||||
# The date of the last successful repositories update
|
||||
APT::Update::Post-Invoke {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
|
Reference in New Issue