-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu.yml
38 lines (34 loc) · 1000 Bytes
/
ubuntu.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
36
37
38
---
# 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: production
become: yes
roles:
- pip
- sudo
- common
- exfat
- unattended-upgrades
# - ubuntudocker
# - ubuntudesktop
# - ubuntuchrome
# - yubico-u2frules
- name: apply dotfiles to admin user
hosts: production
roles:
- dotfiles
# - ubuntudotfiles
- name: install pyenv to admin user
hosts: production
roles:
- pyenv