Skip to content

Commit

Permalink
fix: Add terraform role.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Danilenko committed Apr 28, 2024
1 parent f93aaea commit 8183a1c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following will be installed and configured for you:
- <img src="https://cdn.svgporn.com/logos/docker-icon.svg" height="14"> **Docker** + <img src="https://d33wubrfki0l68.cloudfront.net/96d4dedb7aa3fbf371d01d3356a97ec463b23e04/ca713/images/docksal-mark-color.svg" height="14"> [**Docksal**](https://docksal.io/)
- <img src="https://cdn.svgporn.com/logos/aws.svg" height="14"> **AWS CLI**
- <img src="https://cdn.svgporn.com/logos/google-cloud.svg" height="14"> **Google Cloud CLI**
- <img src="https://www.vectorlogo.zone/logos/opentofu/opentofu-icon.svg" height="14"> **[OpenTofu](https://opentofu.org)**
- <img src="https://www.vectorlogo.zone/logos/opentofu/opentofu-icon.svg" height="14"> **[OpenTofu](https://opentofu.org)** and <img src="https://cdn.svgporn.com/logos/terraform-icon.svg" height="14"> **[Terraform](https://terraform.io)**
- <img src="https://cdn.svgporn.com/logos/postman.svg" height="14"> **Postman**
- And so much more (see [`config.yml`](config.yml))...

Expand Down
9 changes: 9 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,26 @@ node:
#### Cloud tools and utils. ####################################################
cloud:
# AWS CLI v2
# @see https://aws.amazon.com/cli/
aws_cli:
install: true

# Google Cloud SDK
# @see https://cloud.google.com/sdk
google_cloud:
install: true
# Components to install. See https://cloud.google.com/sdk/docs/install#rpm
components:
- 'google-cloud-cli'

# Infrastructure as code tool used to provision and manage cloud and
# on-premises resources declaratively.
# @see https://www.terraform.io/
terraform:
install: true # Please consider using OpenTofu instead if possible.

# OpenTofu - Terraform open-source alternative.
# @see https://opentofu.org/
opentofu:
install: true

Expand Down
5 changes: 5 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,8 @@
become: true
when: cloud.opentofu.install|bool and not ansible_check_mode
tags: [cloud, opentofu, tofu]

- role: vendor/roles/terraform
become: true
when: cloud.terraform.install|bool and not ansible_check_mode
tags: [cloud, terraform, hashicorp]
3 changes: 3 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ roles:
- name: rpmfusion
src: https://github.com/robertdebock/ansible-role-rpmfusion

- name: terraform
src: https://github.com/alexander-danilenko/ansible-role-fedora-terraform

- name: visual-studio-code
src: gantsign.visual-studio-code

Expand Down

0 comments on commit 8183a1c

Please sign in to comment.