Kristóf Torma
331cb2e7b4
Some checks reported errors
continuous-integration/drone/push Build was killed
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
---
|
|
- name: "Use custom Ubuntu mirror"
|
|
replace:
|
|
path: /etc/apt/sources.list
|
|
regexp: 'http://hu.archive.ubuntu.com'
|
|
replace: 'https://tormakris.jfrog.io/artifactory/ubuntu-mirror'
|
|
backup: yes
|
|
|
|
- name: "Get JFrog password from local environment variable"
|
|
ansible.builtin.set_fact:
|
|
artifactory_password: "{{ lookup('env', 'ARTIFACTORY_APT_PASSWORD') }}"
|
|
delegate_to: localhost
|
|
|
|
- name: "Render JFrog credentials configuration"
|
|
template:
|
|
src: jfrog.conf.template
|
|
dest: /etc/apt/auth.conf.d/jfrog.conf
|
|
|
|
- name: "Remove Ubuntu bloatware"
|
|
apt:
|
|
state: absent
|
|
name: ubutu-server
|
|
autoremove: yes
|
|
|
|
- name: "Update machine"
|
|
apt:
|
|
update_cache: yes
|
|
upgrade: "yes"
|
|
autoclean: yes
|
|
autoremove: yes
|
|
|
|
- name: "Install my favourite applications"
|
|
apt:
|
|
update_cache: yes
|
|
state: present
|
|
name:
|
|
- tmux
|
|
- htop
|
|
- dnsutils
|
|
- needrestart
|
|
- curl
|
|
- wget
|
|
- netcat-openbsd
|
|
- tree
|
|
- net-tools
|
|
- nano
|
|
- psmisc
|
|
- python3
|
|
- python3-venv
|
|
- strace
|
|
- ifstat
|
|
- tcpdump
|
|
- xxd
|
|
- git
|
|
- ncdu
|
|
...
|