--- - name: Converge hosts: all become: yes vars: users: - username: gooduser password: "$y$j9T$PR8GfM2MjGudOCd7hF9NP1$/qRGtuNuWaRVVGmB1A4rgtaT0MMB9IoB4fnaxW1kvf4" #plop shell: "/bin/zsh" config: giturl: "https://git.opytex.org/lafrite/dotfiles.git" stowing: ["nvim", "tmux", "zsh"] - username: admin password: "$y$j9T$PR8GfM2MjGudOCd7hF9NP1$/qRGtuNuWaRVVGmB1A4rgtaT0MMB9IoB4fnaxW1kvf4" #plop groups: ["wheel"] system: yes public_key: - keyfile: id_encrypt_fool.pub config: giturl: "https://git.opytex.org/lafrite/dotfiles.git" stowing: ["tmux"] pre_tasks: - name: update_cache for arch pacman: name: - zsh state: present update_cache: yes become: yes when: ansible_os_family == "Archlinux" - name: update_cache for debian apt: name: - zsh state: present update_cache: yes become: yes when: ansible_os_family == "Debian" tasks: - name: "Include user" include_role: name: "user" loop: "{{ users }}" loop_control: loop_var: user