diff options
Diffstat (limited to 'fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml index 950e1bf44c..871cc9eee7 100644 --- a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml +++ b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml @@ -22,6 +22,17 @@ tags: - kernel-inst +- name: Disable APT auto upgrade + lineinfile: + path: "/etc/apt/apt.conf.d/20auto-upgrades" + state: "present" + regexp: "APT::Periodic::Unattended-Upgrade \"[0-9]\";" + line: "APT::Periodic::Unattended-Upgrade \"0\";" + create: true + mode: 0644 + tags: + - kernel-inst + - name: Ensure Packages Versions apt: name: "{{ apt_kernel_list | deb_kernel_pkg( |