Update FreeBSD playbooks
This commit is contained in:
parent
898ebb3021
commit
d155f4fc73
5 changed files with 18 additions and 18 deletions
|
@ -16,7 +16,7 @@
|
|||
- name: Install core CLI packages
|
||||
become: true
|
||||
community.general.pkgng:
|
||||
name: drm-kmod,en-freebsd-doc,git,pkg,py37-ansible,sudo
|
||||
name: en-freebsd-doc,pkg,sudo
|
||||
state: present
|
||||
- name: Install additional CLI packages
|
||||
become: true
|
||||
|
@ -26,16 +26,16 @@
|
|||
vars:
|
||||
packages:
|
||||
- bash
|
||||
- fusefs-ntfs
|
||||
- git
|
||||
- gnu-watch
|
||||
- gnupg
|
||||
- mc
|
||||
- nmap
|
||||
- openvpn
|
||||
- py37-psutil
|
||||
- rubygem-asciidoctor
|
||||
- sqlite3
|
||||
- tmux
|
||||
- vim
|
||||
- zsh
|
||||
- name: Install asciidoctor-pdf Ruby gem
|
||||
become: true
|
||||
community.general.gem:
|
||||
|
|
|
@ -26,21 +26,17 @@
|
|||
vars:
|
||||
packages:
|
||||
- dbus
|
||||
- emacs
|
||||
- en_GB-libreoffice
|
||||
- firefox-esr
|
||||
- galculator
|
||||
- git-gui
|
||||
- iosevka
|
||||
- kde5
|
||||
- liberation-fonts-ttf
|
||||
- libreoffice
|
||||
- mpv
|
||||
- nextcloudclient
|
||||
- redshift
|
||||
- remmina
|
||||
- remmina-plugin-rdp
|
||||
- rxvt-unicode
|
||||
- sddm
|
||||
- vim
|
||||
- xinput
|
||||
|
|
|
@ -16,30 +16,24 @@
|
|||
- name: Enable IPv6 privacy
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
path: /etc/rc.conf.d/ansible-workstation
|
||||
regexp: '^ipv6_privacy=.*'
|
||||
line: 'ipv6_privacy="YES"'
|
||||
- name: Set wlan0 arguments
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
path: /etc/rc.conf.d/ansible-workstation
|
||||
regexp: '^create_args_wlan0=.*'
|
||||
line: 'create_args_wlan0="country GB"'
|
||||
- name: Enable WPA/DHCP for wlan0
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
path: /etc/rc.conf.d/ansible-workstation
|
||||
regexp: '^ifconfig_wlan0=.*'
|
||||
line: 'ifconfig_wlan0="WPA SYNCDHCP"'
|
||||
- name: Enable IPv6 for wlan0
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
path: /etc/rc.conf.d/ansible-workstation
|
||||
regexp: '^ifconfig_wlan0_ipv6=.*'
|
||||
line: 'ifconfig_wlan0_ipv6="inet6 accept_rtadv"'
|
||||
- name: Enable SDDM
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
regexp: '^sddm_enable=.*'
|
||||
line: 'sddm_enable="YES"'
|
||||
|
|
|
@ -19,21 +19,25 @@
|
|||
name: kern.coredump
|
||||
value: '0'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
- name: Use IPv6 temporary addresses
|
||||
become: true
|
||||
ansible.posix.sysctl:
|
||||
name: net.inet6.ip6.use_tempaddr
|
||||
value: '1'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
- name: Prefer IPv6 temporary addresses
|
||||
become: true
|
||||
ansible.posix.sysctl:
|
||||
name: net.inet6.ip6.prefer_tempaddr
|
||||
value: '1'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
- name: Disable VT bell
|
||||
become: true
|
||||
ansible.posix.sysctl:
|
||||
name: kern.vt.enable_bell
|
||||
value: '0'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
|
|
|
@ -25,3 +25,9 @@
|
|||
src: screen-qemu.conf
|
||||
dest: /usr/local/etc/X11/xorg.conf.d/screen-qemu.conf
|
||||
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
||||
- name: Enable SDDM
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf.d/ansible-workstation
|
||||
regexp: '^sddm_enable=.*'
|
||||
line: 'sddm_enable="YES"'
|
||||
|
|
Loading…
Reference in a new issue