Skip to content

Commit

Permalink
Merge pull request #98 from TechDufus/roles/tldr/add_role
Browse files Browse the repository at this point in the history
adding tldr role
  • Loading branch information
TechDufus authored Feb 9, 2024
2 parents cc9cfec + 6f5648e commit a61f6d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ default_roles:
- ssh
- sshfs
- terraform
- tldr
- tmate
- tmux
- zellij
Expand Down
4 changes: 4 additions & 0 deletions roles/tldr/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- name: Run Ubuntu Tasks
ansible.builtin.import_tasks: ubuntu.yml
when: ansible_os_family == 'Debian'
7 changes: 7 additions & 0 deletions roles/tldr/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- name: "TLDR | Install TLDR"
ansible.builtin.apt:
name: tldr
state: present
update_cache: true
become: true

0 comments on commit a61f6d9

Please sign in to comment.