Refactored task to install Sublime Text
This commit is contained in:
parent
5e9874bdb8
commit
78e2112ba6
1 changed files with 2 additions and 12 deletions
|
@ -1,18 +1,8 @@
|
|||
---
|
||||
# tasks file for jotbe.dev-tools
|
||||
- name: Provide dev-tools (on Debian)
|
||||
- name: Install Sublime Text
|
||||
include_tasks:
|
||||
file: sublime_text_debian.yml
|
||||
file: sublime_text_{{ ansible_facts['os_family'] | lower }}.yml
|
||||
apply:
|
||||
tags:
|
||||
- sublime_text
|
||||
when: ansible_facts['os_family'] == 'Debian'
|
||||
|
||||
- name: Provide dev-tools (on Archlinux)
|
||||
include_tasks:
|
||||
file: sublime_text_archlinux.yml
|
||||
apply:
|
||||
tags:
|
||||
- sublime_text
|
||||
when:
|
||||
- ansible_facts['os_family'] == 'Archlinux'
|
||||
|
|
Loading…
Add table
Reference in a new issue