Commit 1f628ab8 authored by Emmanuel Jaep's avatar Emmanuel Jaep
Browse files

added custom packages

parent ce8ed9ab
......@@ -212,3 +212,38 @@
path: /root/.S3-already_installed
state: touch
when: s3_installed.stat.exists == false
# custom packages
- name: check that the semaphore file exists (i.e. custom packages are already installed)
ansible.builtin.stat:
path: /root/.custom_packages_already_installed
register: custom_packages_installed
- block:
- name: install the custom packages
apt:
name: "{{ item }}"
state: latest
update_cache: yes
cache_valid_time: 3600
with_items:
- tmux
- htop
- nano
- nmon
- vim
- p7zip-full
- git
- default-jdk
- emacs
- screen
- maven
- subversion
- parted
- nfs-common
- name: set the semaphore file to indicate that custom packages are installed
file:
path: /root/.custom_packages_already_installed
state: touch
when: custom_packages_installed.stat.exists == false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment