summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-09-29 14:11:44 +0300
committerLars Wirzenius <liw@liw.fi>2019-09-29 14:11:44 +0300
commit221ce874ca6575491e39506d4234975bddb24a92 (patch)
treeaeb3d3c437f036c41d7d3db6cad57634fd12c71b
parent3550b5e44e5e040bd7bafdf9a33a8b9890323902 (diff)
downloadansibleness-221ce874ca6575491e39506d4234975bddb24a92.tar.gz
Add: irc.liw.fi
-rw-r--r--ansible/irc.liw.fi.hz5
-rw-r--r--ansible/irc.liw.fi.yml26
-rw-r--r--ansible/pieni.yml4
-rw-r--r--ansible/roles/comfortable-debian-system/tasks/main.yml1
4 files changed, 32 insertions, 4 deletions
diff --git a/ansible/irc.liw.fi.hz b/ansible/irc.liw.fi.hz
new file mode 100644
index 0000000..487bd5d
--- /dev/null
+++ b/ansible/irc.liw.fi.hz
@@ -0,0 +1,5 @@
+defaults:
+ type: cx11
+ image: debian-10
+hosts:
+ - name: irc
diff --git a/ansible/irc.liw.fi.yml b/ansible/irc.liw.fi.yml
new file mode 100644
index 0000000..582e05d
--- /dev/null
+++ b/ansible/irc.liw.fi.yml
@@ -0,0 +1,26 @@
+- hosts: irc
+ remote_user: root
+ roles:
+ - role: sane_debian_system
+ - role: comfortable-debian-system
+ - role: unix_users
+ - role: self-updating-system
+ - role: irc-client
+ vars:
+ hostname: irc
+ debian_codename: buster
+ debian_mirror: deb.debian.org
+ debian_mirror_src: deb.debian.org
+
+ unix_users:
+ - username: root
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ - username: liw
+ comment: Lars Wirzenius
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ - username: liwmf
+ comment: Lars Wirzenius
+ authorized_keys: |
+ {{ liw_ssh_pub }}
diff --git a/ansible/pieni.yml b/ansible/pieni.yml
index b49ce6c..3c6ec83 100644
--- a/ansible/pieni.yml
+++ b/ansible/pieni.yml
@@ -170,10 +170,6 @@
unix_users:
- username: liw
comment: Lars Wirzenius
- - username: liwmf
- comment: Lars Wirzenius
- - username: vanbreda
- comment: Ivar van Breda
- username: soile
comment: Soile Mottisenkangas
- username: docstory
diff --git a/ansible/roles/comfortable-debian-system/tasks/main.yml b/ansible/roles/comfortable-debian-system/tasks/main.yml
index e086476..6944925 100644
--- a/ansible/roles/comfortable-debian-system/tasks/main.yml
+++ b/ansible/roles/comfortable-debian-system/tasks/main.yml
@@ -12,6 +12,7 @@
- mosh
- apt-file
- dnsutils
+ - git
- name: "remove uncomfortable stuff"
apt: