From e5dac48410dc11af837cae2a65589b1192955060 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 10 Oct 2019 19:19:05 +0100 Subject: [PATCH] Add initial FreeBSD playbook, based on Debian one --- roles/distro/tasks/freebsd.yml | 42 ++++++++++++++++++++++++++++++++++ roles/distro/tasks/main.yml | 2 ++ 2 files changed, 44 insertions(+) create mode 100644 roles/distro/tasks/freebsd.yml diff --git a/roles/distro/tasks/freebsd.yml b/roles/distro/tasks/freebsd.yml new file mode 100644 index 0000000..a0b29fe --- /dev/null +++ b/roles/distro/tasks/freebsd.yml @@ -0,0 +1,42 @@ +--- +- name: Install packages + become: true + pkgng: + name: '{{ packages }}' + state: present + vars: + packages: + - asciidoctor + - drm-kmod + - en-freebsd-doc + - emacs + - evolution + - firefox-esr + - fusefs-ntfs + - galculator + - git + - git-gui + - gnu-watch + - gnupg + - iosevka + - mate + - mc + - mpv + - nextcloudclient + - nmap + - openvpn + - pkg + - py36-ansible + - redshift + - remmina + - remmina-plugin-rdp + - rxvt-unicode + - seahorse + - sqlite3 + - sudo + - tmux + - vim + - xinput + - xorg + - xterm + - zsh diff --git a/roles/distro/tasks/main.yml b/roles/distro/tasks/main.yml index 9e06dc8..ad0f878 100644 --- a/roles/distro/tasks/main.yml +++ b/roles/distro/tasks/main.yml @@ -1,5 +1,7 @@ --- - include: debian.yml when: ansible_distribution == 'Debian' +- include: freebsd.yml + when: ansible_distribution == 'FreeBSD' - include: modules.yml - include: ssh.yml