Skip to content

Commit

Permalink
fix: Add opentofu role.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-danilenko committed Apr 28, 2024
1 parent 1706088 commit f93aaea
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +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://cdn.svgporn.com/logos/postman.svg" height="14"> **Postman**
- And so much more (see [`config.yml`](config.yml))...

Expand Down
4 changes: 4 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ cloud:
components:
- 'google-cloud-cli'

# OpenTofu - Terraform open-source alternative.
opentofu:
install: true

#### Docker things. ############################################################
# Docker Community Edition
docker:
Expand Down
5 changes: 5 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,8 @@
vars:
google_cloud_packages: '{{ cloud.google_cloud.components }}'
tags: [cloud, gcloud]

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

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

- name: php-composer
src: https://github.com/alexander-danilenko/ansible-role-php-composer

Expand Down

0 comments on commit f93aaea

Please sign in to comment.