--- - import_playbook: "include/deploy-kvm-guest.yml myhosts=shell" - name: configure instance hosts: shell user: root gather_facts: true vars_files: - "{{ ansible_private }}/vars.yml" roles: - base - role: kerberos/keytab principals: - "host/{{ inventory_hostname }}@{{ kerberos_realm }}" - "nfs/{{ inventory_hostname }}@{{ kerberos_realm }}" - nfs-client - sssd - autofs - thinlinc-server tasks: - name: install extra package groups package: name: "{{ package_group }}" state: installed with_items: - "@development" - "@fonts" - "@gnome-desktop" - "@workstation-product" loop_control: loop_var: package_group - name: install extra packages package: name: "{{ package }}" state: installed with_items: - emacs - rpmlint - tcsh - tmux - whois - wireshark - zsh loop_control: loop_var: package - name: add software packaged in roles include_role: name: "{{ role }}" with_items: - google-chrome loop_control: loop_var: role