Commit 3330e6cf authored by Leonard Marschke's avatar Leonard Marschke

initial commit

#!/usr/bin/env python
from fabric.api import *
env.roledefs = {
'controller': [
'node': [
@roles('controller', 'node')
def noSudoPassword():
sudo("echo \"fw ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers")
@roles('controller', 'node')
def updateSystems():
sudo("apt-get update")
sudo("apt-get upgrade -y")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment