bag-of-scripts-and-configur.../playbook.yml
2022-11-17 18:32:21 +01:00

37 lines
798 B
YAML

# Copyright 2021 the Bag of Scripts and Configurations authors. All rights reserved. NPLv5+ license.
---
- name: Setup my workplace awesomeness
hosts: localhost
tasks:
- name: Install git, curl and rust
apt:
name:
- git
- curl
# - name: Download Rust install script
# get_url:
# url: https://sh.rustup.rs
# dest: /tmp/rust-install.sh
# mode: '0744'
#
# - name: Execute Rust install script
# shell: sh /tmp/rust-install.sh -y
#
# - name: Install exa
# shell: /home/nilsnh/.cargo/bin/cargo install exa
- name: Some nice CLI tools
apt:
name: bat
- name: Remove useless packages from the cache
apt:
autoclean: yes
- name: Remove dependencies that are no longer required
apt:
autoremove: yes