Hello community,
I have written the following ansible script
`
Hello community,
I have written the following ansible script
`
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:
- testuser1
- testuser2