-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
35 lines (30 loc) · 962 Bytes
/
Copy pathmain.yml
File metadata and controls
35 lines (30 loc) · 962 Bytes
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
---
- name: Configure local host
hosts: localhost
vars:
ansible_python_interpreter: /usr/bin/python3
vars_files:
- config.default.yml
pre_tasks:
- name: Python interpreter
debug: { var: ansible_python_interpreter }
tags: [always]
- name: Ensure python3
assert: { that: ansible_facts.python_version > "2" }
tags: [always]
- name: Provision SOPS and variables
include_role:
name: sops
apply: { tags: [always] }
when: sops_file is defined
tags: [always]
roles:
- { role: elliotweiser.osx-command-line-tools, tags: [install] }
- { role: dotfiles, tags: [dotfiles] }
- { role: geerlingguy.mac.homebrew, tags: [brew] }
- { role: geerlingguy.mac.mas, tags: [mas] }
- { role: python, tags: [python] }
- { role: java, tags: [java] }
# - {role: macos, tags: [macos]}
- { role: ide, tags: [ide] }
# - {role: geerlingguy.mac.dock, tags: [dock]}