You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
2 年之前
123456789101112131415161718192021
  1. ---
  2. - name: update apt cache
  3. apt:
  4. update_cache: true
  5. cache_valid_time: 3600
  6. - name: upgrade all packages
  7. apt:
  8. upgrade: dist
  9. - name: unattended-upgrades
  10. apt:
  11. name: unattended-upgrades
  12. when:
  13. - unattended_upgrades
  14. - not ansible_bender is defined
  15. - name: reboot after updates
  16. reboot:
  17. when: reboot_after_updates