20 - name: Create required security groups
22 name: "{{ item.name }}"
23 description: "{{ item.desc }}"
24 with_items: "{{ security_groups }}"
27 ### Object (with_dict)
31 - name: Print phone records
32 debug: msg="User {{ item.key }} is {{ item.value.name }} ({{ item.value.telephone }})"
33 with_dict: "{{ users }}"
41 key_material: "{{ item }}"
42 with_file: ./keys/sshkey.pub
45 with_fileglob: ./keys/*.pub
51 - include: setup-debian.yml
52 when: ansible_os_family == 'Debian'
54 when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == "6") or
55 (ansible_distribution == "Debian" and ansible_distribution_major_version == "7")
60 - ansible_distribution == "CentOS"
61 - ansible_distribution_major_version == "6"
71 {{ item | default('latest') }}
78 - include: wordpress.yml