summaryrefslogtreecommitdiff
path: root/sysupgrade.yml
blob: c98f22ba98577b4992165727eb58efc3f3ccec45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- name: Update home machines
  hosts: home
  serial: 1
  roles:
    - { role: sysupgrade }
    - { role: reboot }

- name: Update DigitalOcean machines
  hosts: digitalocean
  serial: 1
  vars:
    digitalocean_api_url: https://api.digitalocean.com/v2
  vars_files:
    - misc/secrets/digitalocean.yml
  roles:
    - { role: shutdown }
    - { role: snapshot }
    - { role: poweron }
    - { role: sysupgrade }
    - { role: reboot }