I'm working on a fabfile.py that's stored in our subversion-repo. It holds passwords that I'd rather not store in our repository. Is there a way to read to a local file with some variables?
Below is an example of what I'd like to place in an unversioned file:
def ec2(): """ Define the EC2-server variables below. """ #AWS
# The Public DNS-name or IP that AWS provides. env.hosts = ['XXXXX']
env.hostname = 'XXX.XXX.org' # Site will be visible at this url
# The key-file you told AWS to use env.key_filename = '/Users/XXXX/Desktop/id_XXX.pem'
# A standard Ubuntu-AMI has a default user named 'ubuntu' env.user = 'ubuntu'