summaryrefslogtreecommitdiff
path: root/ansible/icktool.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-25 09:52:04 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-25 09:52:04 +0300
commita80885f44af6d5e8c9b4c654e85be50ebb5f965d (patch)
treeed4d0876c59a5f6ba78426f01fd6ebbb9c60f61e /ansible/icktool.yml
parent11e39e78a5c8f59fd2f02a61a1b6168ce8d2681d (diff)
downloadansibleness-a80885f44af6d5e8c9b4c654e85be50ebb5f965d.tar.gz
add icktool VM
Sponsored-by: author
Diffstat (limited to 'ansible/icktool.yml')
-rw-r--r--ansible/icktool.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/ansible/icktool.yml b/ansible/icktool.yml
new file mode 100644
index 0000000..f93be33
--- /dev/null
+++ b/ansible/icktool.yml
@@ -0,0 +1,39 @@
+- hosts: icktool
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ - role: unix_users
+ tasks:
+ - name: "install git and Ick"
+ apt:
+ state: present
+ name:
+ - git
+ - moreutils
+ - psmisc
+ - ick2
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: icktool
+ sane_debian_system_codename: buster
+ sane_debian_system_sources_lists:
+ - repo: |
+ deb http://security.debian.org/debian-security buster/updates main
+
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: true
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ ssh_key: |
+ {{ lookup('pipe', 'pass show ssh/liw@mirror-git') }}
+ ssh_key_pub: |
+ {{ lookup('pipe', 'pass show ssh/liw@mirror-git.pub') }}