summaryrefslogtreecommitdiff
path: root/ansible/kea.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-30 11:02:13 +0200
committerLars Wirzenius <liw@liw.fi>2020-10-30 11:02:13 +0200
commite4a796453035435b5079791b5f0a65324d1ee259 (patch)
tree310c29b5b92ddd4e212118044e04edc2f121b493 /ansible/kea.yml
parent2caf6a7c7e98438c6feafec713e32c5a5749ed10 (diff)
downloadansibleness-e4a796453035435b5079791b5f0a65324d1ee259.tar.gz
add kea
Diffstat (limited to 'ansible/kea.yml')
-rw-r--r--ansible/kea.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/ansible/kea.yml b/ansible/kea.yml
new file mode 100644
index 0000000..2a884bc
--- /dev/null
+++ b/ansible/kea.yml
@@ -0,0 +1,57 @@
+- hosts: kea
+ remote_user: ansible
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - comfortable-debian-system
+ - unix_users
+ - smarthost-client
+ - intel-wifi
+ tasks:
+ - lineinfile:
+ path: /etc/gdm3/daemon.conf
+ regex: WaylandEnable
+ line: WaylandEnable=false
+ - apt:
+ name:
+ - flatpak
+ - gnome-software-plugin-flatpak
+ - cups
+ - nfs-common
+ - ufw
+ - apt:
+ deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
+ - shell:
+ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
+ - ufw:
+ state: enabled
+ policy: deny
+ - ufw:
+ port: ssh
+ rule: allow
+ vars:
+ sane_debian_system_version: 0
+ unix_users_version: 1
+
+ hostname: kea
+ debian_codename: buster
+
+ mailname: kea.liw.fi
+ timezone: Europe/Helsinki
+
+ relayhost: pieni.net:587
+ smarthost: pieni.net
+ smarthost_user: pienirelay
+ smarthost_password: "{{ lookup('pipe', 'pass show pieni.net/pienirelay') }}"
+
+ unix_users:
+ - username: ansible
+ comment: Ansible
+ sudo: yes
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+
+ sources_lists:
+ - repo: |
+ deb http://deb.debian.org/debian buster contrib non-free