From 5afb464d3af1c44128427f93f86d5e869a652de8 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Tue, 7 Jan 2020 16:04:31 +0100 Subject: [PATCH] fixed user input weechat --- roles/weechat/tasks/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/roles/weechat/tasks/main.yml b/roles/weechat/tasks/main.yml index f42d19c..57e0261 100644 --- a/roles/weechat/tasks/main.yml +++ b/roles/weechat/tasks/main.yml @@ -22,10 +22,6 @@ echo: no register: password -- name: debug - debug: - msg: "VALUE IS {{ nickname }}" - - name: Theme weechat shell: echo {{item}} >~/.weechat/weechat_fifo args: @@ -58,12 +54,12 @@ - '*/set weechat.look.buffer_time_format \${color:252}%H\${color:245}%M\${color:240}%S' - '*/server add freenode chat.freenode.net' - '*/server add freenode irc.oftc.net' - - '*/set irc.server.freenode.nicks "{{ nickname }}"' + - '*/set irc.server.freenode.nicks "{{ nickname.user_input }}"' - '*/set irc.server.freenode.autoconnect on' - '*/set irc.server.freenode.addresses "chat.freenode.net/7000"' - '*/set irc.server.freenode.ssl on' - - '*/set irc.server.freenode.sasl_username "{{ nickname }}"' - - '*/set irc.server.freenode.sasl_password "{{ password }}"' + - '*/set irc.server.freenode.sasl_username "{{ nickname.user_input }}"' + - '*/set irc.server.freenode.sasl_password "{{ password.user_input }}"' - '*/save' - '*/reload' when: stat_fifo.stat.exists