1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--- # TODO: subscribe to RHEL and install docker and other packages here - name: Install required packages yum: name: "{{ item }}" state: latest with_items: "{{ required_packages }}" - name: Install debug packages (optional) yum: name: "{{ item }}" state: latest with_items: "{{ debug_packages }}" when: install_debug_packages|bool