-
Notifications
You must be signed in to change notification settings - Fork 0
/
homeservers.yml
35 lines (31 loc) · 988 Bytes
/
homeservers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
# ansible dependencies are installed manually via apt, pip, and virtualenv
### Begin Ansible Dependencies
# Ansible needs some dependencies: http://docs.ansible.com/ansible/intro_installation.html
# Detect if the client has python-apt. If not, install all listed dependencies.
#- name: Install Ansible Dependencies
# hosts: ubuntuservers
# remote_user: root
# gather_facts: no
# pre_tasks:
# - raw: if [ 1 -gt $(grep -c 'install ok installed' <<< `dpkg -s python-apt`) ]; then apt-get update; apt-get -y install python-simplejson python-apt; fi;
### End Ansible Dependencies
- name: apply configurations
hosts: homeservers
become: yes
roles:
# - sudo # not working for some reason, deal with later
- pip
- wol
# - common
# - unattended-upgrades
# - ubuntudocker
- name: apply dotfiles to admin user
hosts: homeservers
roles:
# - dotfiles
# - ubuntudotfiles
- name: install pyenv to admin user
hosts: homeservers
roles:
# - pyenv