Commit d04bd851 authored by Nick Busey's avatar Nick Busey

Fixes for running against a fresh server (installing python)

parent 3acc0a67
# These are the default settings. Copy this file to `host_vars/myserver` then in that file set the values to match your setup.
# REQUIRED
# Default user name to create as admin with services
default_user_name: (required)
......@@ -19,6 +21,10 @@ common_timezone: 'Etc/UTC'
# Must have a DNS A record of `*.yourserver.com` pointing at your server's IP.
domain: yourserver.com
# END REQUIRED
# OPTIONAL
# Your DarkSky API Key. Get one at http://darksky.net/dev
darksky_key:
......@@ -50,4 +56,7 @@ s3_access_key:
s3_secret_key:
s3_backup_password:
# Backup every day at 4:00 AM
s3_backup_cron: 0 4 * * *
\ No newline at end of file
s3_backup_cron: 0 4 * * *
# Home Assitant API Key
homeassistant_api_key:
---
# Initial setup so Ansible can actually work.
- name: Install python (required by Ansible).
gather_facts: no
hosts: all
become: True
become_method: sudo
pre_tasks:
- name: 'Update Apt Cache'
raw: sudo apt-get update
- name: 'Install Python'
raw: sudo apt-get -y install python-simplejson
# Configure the server itself
- hosts: all
become: True
......
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