Browse Source

Merge branch 'wip-conffile' into 'master'

misc: avoiding the conffile prompt

Closes #297

See merge request main/infrastructure!402
keep-around/292b9a9e18f4f86ee9a600e918cb0d9410e649f2
Loïc Dachary 7 months ago
parent
commit
292b9a9e18
  1. 9
      playbooks/misc/upgrades-playbook.yml

9
playbooks/misc/upgrades-playbook.yml

@ -17,3 +17,12 @@
sed -i -e 's/.*Unattended-Upgrade::Automatic-Reboot .*/Unattended-Upgrade::Automatic-Reboot "true";/' \
-e 's/.*Unattended-Upgrade::Automatic-Reboot-Time .*/Unattended-Upgrade::Automatic-Reboot-Time "02:00";/' \
/etc/apt/apt.conf.d/50unattended-upgrades
- name: Dpkg::Options { "--force-confdef"; "--force-confold"; }
copy:
content: |
Dpkg::Options { "--force-confdef"; "--force-confold"; }
dest: /etc/apt/apt.conf.d/99force-conf
owner: root
group: root
mode: '0644'
Loading…
Cancel
Save