diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-13 14:50:18 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-13 14:50:18 +0200 |
commit | 42760cfec78fe0a8d34b4e1eee3aa22ee9121cf0 (patch) | |
tree | 34cf848d56c1a70cfecd32cf7699a3c4940322d3 | |
parent | bcd8bdea74e6bb0458d3e27abc25d35fa9bee431 (diff) | |
download | ansibleness-42760cfec78fe0a8d34b4e1eee3aa22ee9121cf0.tar.gz |
rust-dev: add playbook
Sponsored-by: author
-rw-r--r-- | ansible/hosts | 1 | ||||
-rw-r--r-- | ansible/rust-dev.yml | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/ansible/hosts b/ansible/hosts index 8d441a2..9e6bd7f 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -49,6 +49,7 @@ vmadm-dev roadmap-dev python-mess ick2-dev +rust-dev sequoia-dev openpgp-ca-dev diff --git a/ansible/rust-dev.yml b/ansible/rust-dev.yml new file mode 100644 index 0000000..fb92237 --- /dev/null +++ b/ansible/rust-dev.yml @@ -0,0 +1,43 @@ +- hosts: rust-dev + remote_user: debian + become: yes + roles: + - role: sane_debian_system + tags: [sane] + - role: comfortable-debian-system + tags: [comfy] + - role: unix_users + tags: [users] + - role: version-controller + tags: [vacs] + - role: liw + tags: [liw] + - role: rust-rustup + tags: [rustup] + tasks: + - apt: + name: + - build-essential + vars: + ansible_python_interpreter: python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: rust-dev + sane_debian_system_codename: bullseye + + timezone: Europe/Helsinki + + unix_users_version: 2 + unix_users: + - username: debian + sudo: yes + authorized_keys: | + {{ liw_personal_ssh_pub }} + - username: liw + comment: Lars Wirzenius + authorized_keys: | + {{ liw_personal_ssh_pub }} + + sane_debian_system_sources_lists: + - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main + signing_key: "{{ ci_prod_signing_key }}" |