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