summaryrefslogtreecommitdiff
path: root/ansible/openpgp-card-dev.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-15 17:16:50 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-15 17:16:50 +0300
commit01051edc435c48b06a99c2665fd51b2428742400 (patch)
tree7fbc886333cca2473885545a08368b9203351b8b /ansible/openpgp-card-dev.yml
parent7c46e36c2d1706e1aa3d76559152fe7cac099bea (diff)
downloadansibleness-01051edc435c48b06a99c2665fd51b2428742400.tar.gz
openpgp-card-dev: playbook
Sponsored-by: author
Diffstat (limited to 'ansible/openpgp-card-dev.yml')
-rw-r--r--ansible/openpgp-card-dev.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/ansible/openpgp-card-dev.yml b/ansible/openpgp-card-dev.yml
new file mode 100644
index 0000000..b82d2b6
--- /dev/null
+++ b/ansible/openpgp-card-dev.yml
@@ -0,0 +1,38 @@
+- hosts: openpgp-card-dev
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: version-controller
+ tags: [vcs]
+ - role: unix_users
+ tags: [users]
+ - role: rust-rustup
+ tags: [rustup]
+ - role: liw
+ tags: [liw]
+
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - debhelper
+ - dh-cargo
+ - libclang-dev
+ - nettle-dev
+ - libpcsclite-dev
+ - lintian
+ - pkg-config
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
+ sane_debian_system_codename: bullseye
+ sane_debian_system_timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius