From 0c1e80e4cc6ec58950748095043f451a1f7f3415 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 20 Jul 2019 21:43:40 +0200 Subject: [PATCH] create direcorys properly --- README.md | 10 ++++++++-- tasks/directorys.yml | 2 +- tasks/main.yml | 2 +- vars/main.yml | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d594e01..b45d7ab 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ -# role_weechat -Ansible role to install and configure weechat + Ansible weechat rolle +========================== +Ansible role to install and configure weechat: + + What can you do: +----------------- + - install weechat on Debian, Ubuntu, Archlinux or Fedora + - tba ```txt WARNING diff --git a/tasks/directorys.yml b/tasks/directorys.yml index 6b61efa..9324f53 100644 --- a/tasks/directorys.yml +++ b/tasks/directorys.yml @@ -11,7 +11,7 @@ - name: create plugin directories file: path: "{{ weechat_directory }}/{{ item.value }}/autoload" - state: directory' + state: directory owner: "{{ weechat_user }}" group: "{{ weechat_user }}" with_dict: '{{ weechat_plugin_languages }}' diff --git a/tasks/main.yml b/tasks/main.yml index ce0de03..1c56368 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,7 +2,7 @@ - include_tasks: versioncheck.yml when: submodules_versioncheck|bool -- include_tasks: "install-{{ ansible_os_version|lower }}.yml" +- include_tasks: "install-{{ ansible_os_family|lower }}.yml" when: install_weechat | bool - include_tasks: directorys.yml diff --git a/vars/main.yml b/vars/main.yml index 1a40126..ff45bbc 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -9,5 +9,5 @@ weechat_plugin_languages: lua: lua # version management -playbook_version_number: 1026 # should be over ninethousand +playbook_version_number: 1027 # should be over ninethousand playbook_version_path: '/etc/ansible-version/role-weechat_chaos-bodensee_github.com.version'