130 lines
2.7 KiB
YAML
130 lines
2.7 KiB
YAML
---
|
|
|
|
|
|
# tags supported inside basic.yml
|
|
#
|
|
# timezone
|
|
# locales
|
|
# systemd-nofiles
|
|
- import_tasks: basic.yml
|
|
tags:
|
|
- basic
|
|
|
|
# tags supported inside sshd.yml
|
|
#
|
|
# sshd-config
|
|
- import_tasks: sshd.yml
|
|
tags: sshd
|
|
|
|
# tags supported inside apt.yml
|
|
#
|
|
# apt-update
|
|
# apt-upgrade
|
|
# apt-dpkg-configure
|
|
# apt-initial-install
|
|
# apt-microcode
|
|
# apt-remove
|
|
# apt-autoremove
|
|
# apt-clean
|
|
- import_tasks: apt.yml
|
|
tags: apt
|
|
|
|
# tags supported inside nfs.yml:
|
|
#
|
|
# nfs-server
|
|
# nfs-client
|
|
- import_tasks: nfs.yml
|
|
tags:
|
|
- nfs
|
|
|
|
# tags supported inside nfs.yml:
|
|
#
|
|
# nis-install-server
|
|
- import_tasks: nis-install-server.yml
|
|
when: "groups['nis_server']|string is search(inventory_hostname)"
|
|
tags:
|
|
- nis-install
|
|
|
|
# tags supported inside nfs.yml:
|
|
#
|
|
# nis-install-client
|
|
- import_tasks: nis-install-client.yml
|
|
when: "groups['nis_client']|string is search(inventory_hostname)"
|
|
tags:
|
|
- nis-install
|
|
|
|
# tags supported inside nis_user.yml:
|
|
#
|
|
# nis-user
|
|
# system-user
|
|
- import_tasks: nis_user.yml
|
|
when: "groups['nis_server']|string is search(inventory_hostname)"
|
|
tags:
|
|
- nis-user
|
|
|
|
# tags supported inside samba_user.yml:
|
|
#
|
|
# samba-user
|
|
- import_tasks: samba_user.yml
|
|
when: "groups['samba_server']|string is search(inventory_hostname)"
|
|
tags:
|
|
- nis-samba-user
|
|
|
|
- import_tasks: user-systemfiles.yml
|
|
when: "groups['nis_server']|string is search(inventory_hostname)"
|
|
tags:
|
|
- user-systemfiles
|
|
|
|
# tags supported inside sudoers.yml:
|
|
#
|
|
# sudoers-remove
|
|
# sudoers-file-configuration
|
|
# sudoers-global-configuration
|
|
- import_tasks: sudoers.yml
|
|
when: "groups['client_pc']|string is search(inventory_hostname)"
|
|
tags:
|
|
- sudoers
|
|
|
|
#- import_tasks: mount_samba_shares.yml
|
|
# when: "groups['client_pc']|string is search(inventory_hostname)"
|
|
# tags:
|
|
# - samba-shares
|
|
|
|
# Tasks: Configure VNC (x11vnc) for Ubuntu systems
|
|
#
|
|
# Supported OS:
|
|
# - Ubuntu 16.04LTSi
|
|
# - Ubuntu 18.04LTSi
|
|
|
|
- name: "For OS: Ubuntu 16.04LTS, Arch: amd64"
|
|
import_tasks: ubuntu-x11vnc-1604-amd64.yml
|
|
when:
|
|
- ansible_distribution_version == "16.04"
|
|
- ansible_architecture == "x86_64"
|
|
tags:
|
|
- x11vnc
|
|
- x11vnc-1604
|
|
- finish-client-install
|
|
|
|
- name: "For OS: Ubuntu 18.04LTS, Arch: amd64"
|
|
import_tasks: ubuntu-x11vnc-1804-amd64.yml
|
|
when:
|
|
- ansible_distribution_version == "18.04"
|
|
- ansible_architecture == "x86_64"
|
|
tags:
|
|
- x11vnc
|
|
- x11vnc-1804
|
|
- finish-client-install
|
|
|
|
#- name: "Configure LUKS"
|
|
# import_tasks: luks.yml
|
|
# when: "groups['client_pc']|string is search(inventory_hostname)"
|
|
# tags:
|
|
# - luks
|
|
|
|
- import_tasks: root-systemfiles.yml
|
|
when: "groups['nis_client']|string is search(inventory_hostname)"
|
|
tags:
|
|
- root-systemfiles
|
|
- finish-client-install
|