diff options
Diffstat (limited to 'ansible/radicle-dev.yml')
-rw-r--r-- | ansible/radicle-dev.yml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ansible/radicle-dev.yml b/ansible/radicle-dev.yml new file mode 100644 index 0000000..db72f23 --- /dev/null +++ b/ansible/radicle-dev.yml @@ -0,0 +1,56 @@ +- hosts: radicle-dev + remote_user: debian + become: yes + roles: + - role: sane_debian_system + - role: sshd + - role: comfortable-debian-system + - role: unix_users + - role: rust-rustup + - role: liw + tasks: + - name: "install important additional packages" + apt: + name: + - asciidoctor + - build-essential + - curl + - git + - llvm + - podman + - rsync + - screen + - man-db + - moreutils + - time + - tree + - vim + - name: "make /bin/sh be bash" + shell: | + ln -nsf /bin/bash /bin/sh + - copy: + dest: /etc/containers/registries.conf.d/unqualified.conf + content: | + unqualified-search-registries = ["docker.io"] + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: "{{ inventory_hostname }}" + sane_debian_system_codename: bookworm + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://security.debian.org/debian-security bookworm-security main contrib non-free + + unix_users_version: 2 + unix_users: + - username: liw + comment: Lars Wirzenius + sudo: true + + sshd_version: 1 + + # rustup_cargo_install: | + # starship \ + # zoxide |