diff options
author | binary <me@rgoncalves.se> | 2021-03-01 15:46:23 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-01 15:46:23 +0100 |
commit | a29fa5af783977e298777d5a870fc4191466371a (patch) | |
tree | f8e9bf5ae86170b441dffde43caa7430efe72575 /roles/_workstation/weechat-matrix | |
parent | 637d9584c27edd835c24f30eed4ab7d8b4189925 (diff) | |
download | infrastructure-a29fa5af783977e298777d5a870fc4191466371a.tar.gz |
Add env role and meta tasks for workstation playbook
Diffstat (limited to 'roles/_workstation/weechat-matrix')
-rw-r--r-- | roles/_workstation/weechat-matrix/meta/main.yml | 8 | ||||
-rw-r--r-- | roles/_workstation/weechat-matrix/tasks/main.yml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/roles/_workstation/weechat-matrix/meta/main.yml b/roles/_workstation/weechat-matrix/meta/main.yml new file mode 100644 index 0000000..d48bb71 --- /dev/null +++ b/roles/_workstation/weechat-matrix/meta/main.yml @@ -0,0 +1,8 @@ + +# _workstation/weechat-matrix ~~ roles/_workstation/weechat-matrix/meta/main.yml +# Meta parameters + +--- + +dependencies: + - { role: _workstation/env, tags: "dependency" } diff --git a/roles/_workstation/weechat-matrix/tasks/main.yml b/roles/_workstation/weechat-matrix/tasks/main.yml index 4d86244..6227b35 100644 --- a/roles/_workstation/weechat-matrix/tasks/main.yml +++ b/roles/_workstation/weechat-matrix/tasks/main.yml @@ -4,6 +4,12 @@ --- +- shell: whoami && ls ~ + register: out + +- debug: + var: out + - name: ensure weechat-matrix repository is latest git: repo: "{{ weechat_matrix_repo }}" @@ -34,9 +40,11 @@ src: "{{ weechat_matrix_local }}/matrix" dest: ~/.weechat/python mode: preserve + remote_src: true - name: ensure matrix plugin is copied to weechat directory copy: src: "{{ weechat_matrix_local }}/main.py" dest: ~/.weechat/python/matrix.py mode: preserve + remote_src: true |