Skip to content

Instantly share code, notes, and snippets.

@n8foo
Last active Jul 19, 2016
Embed
What would you like to do?
Example basic ansible playbook
---
- hosts: hostgroup1
sudo: yes
serial: 3
tasks:
- shell: apt-get -y update
- shell: apt-get -y upgrade
[hostgroup1]
host1
host2
host3
[hostgroup2]
host2
host3
host4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment