Skip to content

Commit

Permalink
Install Applications
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Nov 21, 2024
1 parent 8944958 commit aa0fdda
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
5 changes: 5 additions & 0 deletions inventory/dev/group_vars/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ nginx_add_repo: false

ssh_passphrase: "SomethingYouNeedToUse"

use_docker: true
use_podman: false
use_opentofu: true
use_powershell: false
use_terraform: false
terraform_ver: 1.9.8
28 changes: 21 additions & 7 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,27 @@
hosts: semaphore
become: true
gather_facts: true
roles:
- role: andrewrothstein.opentofu
tags: [tools, opentofu]
- role: andrewrothstein.powershell
tags: [tools, powershell]
- role: andrewrothstein.terraform
tags: [tools, terraform]
tags: [tools]
tasks:
- name: Install Docker
when: use_docker | bool
ansible.builtin.include_role:
name: geerlingguy.docker

- name: Install OpenTofu
when: use_opentofu | bool
ansible.builtin.include_role:
name: andrewrothstein.opentofu

- name: Install Powershell
when: use_powershell | bool
ansible.builtin.include_role:
name: andrewrothstein.powershell

- name: Install Terraform
when: use_terraform | bool
ansible.builtin.include_role:
name: andrewrothstein.terraform

- name: Semaphore in Systemd
hosts: semaphore
Expand Down
1 change: 0 additions & 1 deletion roles/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ roles:
- src: andrewrothstein.powershell
- src: andrewrothstein.terraform
- src: geerlingguy.docker
name: docker
- src: bbaassssiiee.postgres_ssl
name: postgres
version: 1.1.1
Expand Down

0 comments on commit aa0fdda

Please sign in to comment.