Re: [ansible-project] Standard Ansible Loop Script not working

2018-05-14 Thread Brian Coca
don't offset from list item: # Playbook file: loopplay.yml - name: loopplay hosts: centos2 tags: - loopplay tasks: - name: looptask user: name: "{{ item }}" state: present groups: "wheel" loop:

[ansible-project] Standard Ansible Loop Script not working

2018-05-14 Thread Carlton Patterson
Hello community, I have written the following ansible script --- # Playbook file: loopplay.yml - name: loopplay hosts: centos2 tags: - loopplay tasks: - name: looptask user: name: "{{ item }}" state: present