-
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
kakashi
committed
Feb 7, 2022
1 parent
ee96a29
commit 2ada280
Showing
11 changed files
with
44 additions
and
4 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
- hosts: localhost | ||
connection: local | ||
gather_facts: no | ||
become: true | ||
gather_facts: yes | ||
become: yes | ||
roles: | ||
- common | ||
- docker | ||
# - common | ||
- hashicorp |
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.
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,12 @@ | ||
- name: Install docker packages | ||
apt: | ||
update_cache: yes | ||
name: "{{item}}" | ||
state: present | ||
|
||
with_items: | ||
- gnupg | ||
- software-properties-common | ||
- curl | ||
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,3 @@ | ||
# - include: dependencies.yml | ||
- include: repository.yml | ||
- include: config.yml |
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,24 @@ | ||
- name: import the terraform apt key | ||
apt_key: | ||
url: https://apt.releases.hashicorp.com/gpg | ||
state: present | ||
become: true | ||
|
||
- name: Add terraform repository into sources list | ||
ansible.builtin.apt_repository: | ||
repo: "deb [arch=amd64] https://apt.releases.hashicorp.com {{ansible_distribution_release}} main" | ||
state: present | ||
filename: hashicorp | ||
|
||
- name: Install Hashicorp Packages | ||
apt: | ||
update_cache: yes | ||
name: "{{item}}" | ||
state: present | ||
become_user: root | ||
with_items: | ||
- terraform | ||
- vagrant | ||
- packer | ||
register: packages | ||
|
Empty file.
Empty file.