-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
roles: | ||
- common | ||
- hashicorp | ||
# - homebrew | ||
# - docker | ||
- python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- name: Install terragrunt | ||
get_url: | ||
url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.36.6/terragrunt_linux_amd64 | ||
dest: /usr/local/bin/terragrunt | ||
mode: 755 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- include: services.yml |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- name: Install common packages | ||
apt: | ||
update_cache: yes | ||
name: "{{item}}" | ||
state: present | ||
become_user: root | ||
with_items: | ||
- curl | ||
- wget | ||
- ruby | ||
- build-essential | ||
- procps | ||
- file | ||
- git | ||
|
||
register: dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
- name: Git Brew | ||
become_user: diegotony | ||
become: no | ||
ansible.builtin.git: | ||
repo: https://github.com/Homebrew/brew | ||
dest: /home/diegotony/homebrew | ||
|
||
- name: "Add Brew in PATH" | ||
become_user: diegotony | ||
become: no | ||
lineinfile: | ||
path: /home/diegotony/.zshrc | ||
line: "export PATH=/home/diegotony/homebrew/bin:$PATH" | ||
state: present | ||
|
||
|
||
- name: Add Homebrew to Path | ||
become: no | ||
ansible.builtin.shell: | | ||
source /home/diegotony/.zshrc | ||
args: | ||
executable: /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- include: dependencies.yml | ||
- include: install.yml | ||
- include: packages.yml |
Empty file.
Empty file.
Empty file.