diff --git a/defaults/main.yml b/defaults/main.yml index 4d59c8d..a39bde1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -18,7 +18,8 @@ weechat: gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E' # custom private config custom_config: - # path to your custom weechat config (with plugins) git repo ( git@github.com:/.git ) + # path to your custom weechat config (with plugins) git repo + # ( eg. git@github.com:/.git ) private_repo: false # generate ssh key pair (if not available) gen_ssh_key_pair: true diff --git a/tasks/install-debian.yml b/tasks/install-debian.yml index 42f7419..17cbb41 100644 --- a/tasks/install-debian.yml +++ b/tasks/install-debian.yml @@ -15,26 +15,26 @@ - name: add weechat repo become: true apt_repository: - repo: "deb https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main" + repo: "deb {{ weechat__debian_weechat_repo }}" state: present - update_cache: yes + update_cache: true - name: add weechat repo-src become: true apt_repository: - repo: "deb-src https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main" + repo: "deb-src {{ weechat__debian_weechat_repo }}" state: present - update_cache: yes + update_cache: true - name: install recomended weechat packages become: true apt: name: - - weechat-curses - - weechat-plugins - - weechat-python - - weechat-perl - - weechat-lua - - weechat-ruby - - weechat-doc + - weechat-curses + - weechat-plugins + - weechat-python + - weechat-perl + - weechat-lua + - weechat-ruby + - weechat-doc state: present diff --git a/tasks/setup_autostart.yml b/tasks/setup_autostart.yml index 154bd78..5631aa6 100644 --- a/tasks/setup_autostart.yml +++ b/tasks/setup_autostart.yml @@ -22,5 +22,5 @@ enabled: true state: started name: weechat.service - daemon_reload: yes + daemon_reload: true notify: systemctl restart weechat.service diff --git a/vars/main.yml b/vars/main.yml index dc00373..c86796a 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -9,7 +9,7 @@ weechat_plugin_languages: lua: lua # version management -playbook_version_number: 4099 # should be over ninethousand +playbook_version_number: 4099 # should be over ninethousand playbook_version_path: 'role-weechat_roles-ansible_github.com.version' # default values @@ -25,3 +25,5 @@ _weechat: custom_config: private_repo: false gen_ssh_key_pair: true + +weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"