-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.yml
33 lines (26 loc) · 805 Bytes
/
setup.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
#!/usr/bin/env ansible-playbook
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: setup.yml
# Modified: 2017-02-20 02:54
# Description: Setup my Ubuntu Desktop with Ansible.
# ============================================================
---
- name: play 'ubuntu-desktop.ansible/setup.yml'
hosts: local
roles:
- chusiang.switch-apt-mirror
- { role: chusiang.vim-and-vi-mode, tags: vim }
vars_files:
- vars/main.yml
- defaults/main.yml
tasks:
- name: include main.yml
include: tasks/main.yml
handlers:
- name: restart tlp
service: name=tlp state=restarted
#- name: restart lightdm
# service: name=lightdm state=restarted
# vim: ft=ansible :