-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added apt-reactivate-auto-update to reactivate updates at the end of …
…the playbook run (#518) * changed theia to 900. Added apt-reactivate-auto-update as new 999. * added new line at end of file * changed list representation
- Loading branch information
1 parent
8dbab38
commit 51e9e2e
Showing
4 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
resources/playbook/roles/bibigrid/files/enable-auto-upgrades.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
APT::Periodic::Update-Package-Lists "1"; | ||
APT::Periodic::Download-Upgradeable-Packages "1"; | ||
APT::Periodic::AutocleanInterval "1"; | ||
APT::Periodic::Unattended-Upgrade "1"; |
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
resources/playbook/roles/bibigrid/tasks/999-apt-reactivate-auto-update.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- name: Disable auto-update/upgrade during ansible-run | ||
copy: | ||
src: enable-auto-upgrades.conf | ||
dest: /etc/apt/apt.conf.d/20auto-upgrades | ||
owner: root | ||
group: root | ||
mode: 0644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters