playbook-update.yml 129 B

12345678
  1. ---
  2. - hosts: all
  3. tasks:
  4. - name: Update Server
  5. become: true
  6. apt:
  7. upgrade: yes
  8. update_cache: yes