-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup_server.yml
34 lines (28 loc) · 777 Bytes
/
setup_server.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
#!/usr/bin/env ansible-playbook
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: setup_server.yml
# Modified: 2017-08-01 21:54
# Description: Setup my Ubuntu Server with Ansible.
# ============================================================
---
- name: setup server
hosts: local
roles:
#- chusiang.switch-apt-mirror
- chusiang.vim-and-vi-mode
vars_files:
- defaults/main.yml
- vars/main.yml
tasks:
# server
- name: include setup_server.yml
include: tasks/setup_server.yml
tags:
- server
- name: include config_server.yml
include: tasks/config_server.yml
tags:
- server
# vim: ft=ansible :