Add kitty role for Linux
This commit is contained in:
parent
67a37e0a56
commit
49b292126e
@ -1,3 +1,6 @@
|
||||
---
|
||||
- import_playbook: LinuxCLI.yaml
|
||||
- import_playbook: UnixGUI.yaml
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: kitty
|
||||
|
6
roles/kitty/tasks/Debian.yaml
Normal file
6
roles/kitty/tasks/Debian.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install apt package
|
||||
become: true
|
||||
apt:
|
||||
name: kitty
|
||||
state: latest
|
6
roles/kitty/tasks/RedHat.yaml
Normal file
6
roles/kitty/tasks/RedHat.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install dnf package
|
||||
become: true
|
||||
dnf:
|
||||
name: kitty
|
||||
state: latest
|
7
roles/kitty/tasks/main.yaml
Normal file
7
roles/kitty/tasks/main.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
||||
|
||||
- name: clone config repo
|
||||
git:
|
||||
repo: git@code.infektor.net:config/kitty.git
|
||||
dest: ~/.config/kitty
|
Loading…
x
Reference in New Issue
Block a user