From Coral Bongo, 1 Week ago, written in Plain Text.
This paste will explode in 10 Months.
This paste is a reply to Untitled from Rude Butterfly
- view diff
Embed
  1.  
  2.         - name: configure unattended-upgrades
  3.           lineinfile:
  4.             path: /etc/apt/apt.conf.d/50unattended-upgrades
  5.             state: present
  6.             regexp: "//.*distro_id.*distro_codename*-security"
  7.             line: "${distro_id}:${distro_codename}-security;"
  8.        
  9.        - name: configure unattended-upgrades2
  10.           lineinfile:
  11.             path: /etc/apt/apt.conf.d/50unattended-upgrades
  12.             state: present
  13.             regexp: "//.*distro_id.*distro_codename*-updates"
  14.             line: "${distro_id}:${distro_codename}-updates;"
  15.