You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
291 B

  1. - name: update profile
  2. debug:
  3. var: item.profile
  4. when: item.password is defined
  5. - name: update iam password
  6. iam:
  7. iam_type: user
  8. profile: "{{ item.profile }}"
  9. name: "{{ item.user }}"
  10. state: present
  11. password: "{{ item.password }}"
  12. when: item.password is defined