# tools ~~ roles/tools/tasks/main.yml # see : https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/tools/tasks/main.yml --- - set_fact: packages: "{{ packages[ansible_distribution | lower] }}" - name: install per distribution correspond tools package: state=present name="{{ item }}" loop: - "{{ packages.sshfs }}" - "{{ packages.wireguard }}" - "{{ packages.extra if packages.extra is defined }}" ignore_errors: true - name: install global utils package: name="{{ item }}" state=present loop: - curl - figlet - git - htop - neovim - tmux - wget - zsh ignore_errors: true