69 lines
1.4 KiB
YAML
69 lines
1.4 KiB
YAML
---
|
|
- 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
|
|
- epel-repo
|
|
- powertools-repo
|
|
|
|
tasks:
|
|
- name: install extra package groups
|
|
dnf:
|
|
name:
|
|
- "@development"
|
|
- "@fonts"
|
|
- "@gnome-desktop"
|
|
- "@workstation-product"
|
|
state: installed
|
|
exclude:
|
|
- fprintd-pam
|
|
- gnome-initial-setup
|
|
|
|
- name: install extra packages
|
|
package:
|
|
name: "{{ package }}"
|
|
state: installed
|
|
with_items:
|
|
- elinks
|
|
- emacs
|
|
- gnupg1
|
|
- irssi
|
|
- kernel-doc
|
|
- lynx
|
|
- php-cli
|
|
- rpmlint
|
|
- tcsh
|
|
- tmux
|
|
- whois
|
|
- wireshark
|
|
- zsh
|
|
loop_control:
|
|
loop_var: package
|
|
|
|
- name: add software packaged in roles
|
|
include_role:
|
|
name: "{{ role }}"
|
|
with_items:
|
|
- firefox
|
|
- google-chrome
|
|
- mutt
|
|
- opencollab
|
|
- thunderbird
|
|
loop_control:
|
|
loop_var: role
|