-
Notifications
You must be signed in to change notification settings - Fork 0
/
macbook.yml
43 lines (37 loc) · 954 Bytes
/
macbook.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
39
40
41
42
43
---
- name: Play for macbook.hayaworld.home
hosts: macbook
connection: local
remote_user: hayato
gather_facts: true
vars_files:
- inventories/host_vars/macbook.yml
- inventories/host_vars/networks.yml
tasks:
- name: Set Hostname
ansible.builtin.hostname:
name: "{{ network_dhcp.macbook.hostname }}"
become: true
tags:
- network
- name: Brew install
ansible.builtin.import_tasks:
file: tasks/macbook/brew.yml
tags:
- brew
- name: Install Pre-builded SNS downloaders
ansible.builtin.import_tasks:
file: tasks/sns_dl.yml
tags:
- install
- name: Make symlinks
ansible.builtin.import_tasks:
file: tasks/macbook/symlinks.yml
tags:
- symlink
- symlinks
- name: Put ~/.ssh/config
ansible.builtin.import_tasks:
file: tasks/macbook/home_ssh_config.yml
tags:
- ssh