From 1ecb9019c18fb70bfbea782c9dc9aa8a252e0616 Mon Sep 17 00:00:00 2001 From: Pig Monkey Date: Tue, 24 Jan 2017 19:24:46 -0800 Subject: [PATCH] consolidate spelling dictionaries Previously hunspell was installed as a firefox dep, and aspell was installed for weechat. --- playbook.yml | 1 + roles/spell/tasks/main.yml | 16 ++++++++++++++++ roles/weechat/tasks/main.yml | 3 --- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 roles/spell/tasks/main.yml diff --git a/playbook.yml b/playbook.yml index a6c51fe..afec78f 100644 --- a/playbook.yml +++ b/playbook.yml @@ -25,6 +25,7 @@ - { role: filesystems, tags: ['filesystems'] } - { role: archive, tags: ['archive'] } - { role: udisks, tags: ['udisks'] } + - { role: spell, tags: ['spell'] } - { role: browsers, tags: ['browsers'] } - { role: yubikey, tags: ['yubikey'] } - { role: media, tags: ['media'] } diff --git a/roles/spell/tasks/main.yml b/roles/spell/tasks/main.yml new file mode 100644 index 0000000..9cf6363 --- /dev/null +++ b/roles/spell/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- name: Install hunspell + pacman: name={{ item }} state=present + with_items: + - hunspell + - hunspell-en + tags: + - hunspell + +- name: Install aspell + pacman: name={{ item }} state=present + with_items: + - aspell + - aspell-en + tags: + - aspell diff --git a/roles/weechat/tasks/main.yml b/roles/weechat/tasks/main.yml index 69f171a..8055795 100644 --- a/roles/weechat/tasks/main.yml +++ b/roles/weechat/tasks/main.yml @@ -1,7 +1,4 @@ --- -- name: Install aspell English dictionary - pacman: name=aspell-en state=present - - name: Install weechat pacman: name=weechat state=present