diff --git a/Unix.yaml b/Unix.yaml index 35aa729..06174d4 100644 --- a/Unix.yaml +++ b/Unix.yaml @@ -13,6 +13,7 @@ - role: curl - role: fzf - role: git + - role: htop - role: tidy - role: tree diff --git a/roles/htop/tasks/Darwin.yaml b/roles/htop/tasks/Darwin.yaml new file mode 100644 index 0000000..d26f731 --- /dev/null +++ b/roles/htop/tasks/Darwin.yaml @@ -0,0 +1,5 @@ +--- +- name: install homebrew package + homebrew: + name: htop + state: latest diff --git a/roles/htop/tasks/Debian.yaml b/roles/htop/tasks/Debian.yaml new file mode 100644 index 0000000..a2163a2 --- /dev/null +++ b/roles/htop/tasks/Debian.yaml @@ -0,0 +1,5 @@ +--- +- name: install apt package + apt: + name: htop + state: latest diff --git a/roles/htop/tasks/main.yaml b/roles/htop/tasks/main.yaml new file mode 100644 index 0000000..6853678 --- /dev/null +++ b/roles/htop/tasks/main.yaml @@ -0,0 +1,2 @@ +--- +- include_tasks: '{{ansible_os_family}}.yaml'