mirror of
https://github.com/roles-ansible/ansible_role_weechat.git
synced 2024-08-16 13:09:48 +02:00
19 lines
491 B
YAML
19 lines
491 B
YAML
---
|
|
- name: create weechat directory
|
|
become: true
|
|
become_user: "{{ weechat.user }}"
|
|
file:
|
|
path: "{{ weechat.home_directory }}"
|
|
state: directory
|
|
owner: "{{ weechat.user }}"
|
|
mode: "0750"
|
|
|
|
- name: create weechat plugins directory
|
|
become: true
|
|
become_user: "{{ weechat.user }}"
|
|
file:
|
|
path: "{{ weechat.home_directory }}/{{ item.value }}/autoload"
|
|
state: directory
|
|
owner: "{{ weechat.user }}"
|
|
mode: "0750"
|
|
with_dict: "{{ weechat_plugin_languages }}"
|