Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Initial dist-upgrade
- - name: Drop breadcrumb to indicate first run tasks done
- command: touch {{ firstrun_breadcrumb }} creates={{ firstrun_breadcrumb }}
- register: firstrun_done
- - name: Perform dist-upgrade on initial setup only
- apt: upgrade=dist
- when: not firstrun_done.skipped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement