-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.yaml
More file actions
54 lines (48 loc) · 1.89 KB
/
Copy pathbootstrap.yaml
File metadata and controls
54 lines (48 loc) · 1.89 KB
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
44
45
46
47
48
49
50
51
52
53
54
- hosts: localhost
# become: true
connection: local
vars_files:
- vars.yaml
- pkgs/versions.yaml
- pkgs/mac_pkgs.yaml
- pkgs/debian_pkgs.yaml
- pkgs/fedora_pkgs.yaml
tasks:
- name: Main
ansible.builtin.include_tasks:
file: tasks/main.yaml
# - name: Create a symbolic link
# when: ansible_facts["os_family"] == 'Darwin'
# ansible.builtin.file:
# src: '{{ playbook_dir }}/concerns/p10k/fonts/MesloLGS NF Bold Italic.ttf'
# dest: "{{lookup('env','HOME')}}/Library/Fonts/MesloLGS NF Bold Italic.ttf"
# owner: "{{ theuser }}"
# state: link
# - name: Create a symbolic link
# when: ansible_facts["os_family"] == 'Darwin'
# ansible.builtin.file:
# src: '{{ playbook_dir }}/concerns/p10k/fonts/MesloLGS NF Bold.ttf'
# dest: "{{lookup('env','HOME')}}/Library/Fonts/MesloLGS NF Bold.ttf"
# owner: "{{ theuser }}"
# state: link
# - name: Create a symbolic link
# when: ansible_facts["os_family"] == 'Darwin'
# ansible.builtin.file:
# src: '{{ playbook_dir }}/concerns/p10k/fonts/MesloLGS NF Regular.ttf'
# dest: "{{lookup('env','HOME')}}/Library/Fonts/MesloLGS NF Regular.ttf"
# owner: "{{ theuser }}"
# state: link
# - name: Create a symbolic link
# when: ansible_facts["os_family"] == 'Darwin'
# ansible.builtin.file:
# src: '{{ playbook_dir }}/concerns/p10k/fonts/MesloLGS NF Italic.ttf'
# dest: "{{lookup('env','HOME')}}/Library/Fonts/MesloLGS NF Italic.ttf"
# owner: "{{ theuser }}"
# state: link
roles:
- role: luizgavalda.aur
when: ansible_facts["os_family"] == 'Archlinux'
handlers:
- name: update trusted ca debian
shell: /usr/sbin/update-ca-certificates
when: ansible_facts["os_family"] == "Debian"