News for hackers. Stuff that matters.
Re:Replacing Ansible with salt-ssh by athenot on Thursday October 22, 2020 @03:21PM (#24862246)
The author's example of using loop data out of loops is overlooking anchors and aliases in YAML. His example can be rewritten as:

    - hosts: all
      tasks:
      - name: Install distro packages
        package:
          name: "{{ item }}"
          state: present
        with_list: &packages
          - git
          - htop
        tags: *packages
Re:Replacing Ansible with salt-ssh by spyc on Thursday October 22, 2020 @05:40PM (#24863591)
Good point, thanks for bringing it up! I have updated the article accordingly just now.