1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

fixed user input weechat

This commit is contained in:
eoli3n 2020-01-07 16:04:31 +01:00
parent 740736bbdf
commit 5afb464d3a

@ -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