eganjs / workstation-ansible Goto Github PK
View Code? Open in Web Editor NEWAnsible playbooks to configure a simple CentOS 7 dev VM, aimed to be compatible with Fedora
Ansible playbooks to configure a simple CentOS 7 dev VM, aimed to be compatible with Fedora
Should probably live within dev-angular.yml
this includes extracting users, names and emails
Run the following commands through a playbook
sudo /usr/bin/vmware-uninstall-tools.pl
sudo dnf install 'open-vm-tools*'
https://github.com/jarun/nnn looks promising
Should probably live within it's own playbook
See this gist for an example: https://gist.github.com/keithchambers/80b60559ad83cebf1672
Could be tidied up with using the copy
module with the content
property
---
- name: test if grub configured for noop i/o scheduler
command: egrep -q 'elevator=noop' /boot/grub2/grub.cfg
register: grub
changed_when: no
failed_when: grub_test.rc == 2
- name: configure grub for noop i/o scheduler
sudo: yes
command: grubby --update-kernel=ALL --args=elevator=noop
when: grub_test.rc == 1
- name: get list of block devices to test
shell: ls /sys/block/ | egrep '^([shv]|xv])d[a-z]$'
register: block_devs
changed_when: no
- name: test if block device using noop i/o scheduler
shell: cat /sys/block/{{ item }}/queue/scheduler | egrep -q '\[noop\]'
with_items: block_devs.stdout
register: noop_test
changed_when: noop_test.rc == 1
failed_when: noop_test.rc == 2
- name: set block device to use noop i/o scheduler
sudo: yes
shell: echo noop > /sys/block/{{ item }}/queue/scheduler
with_items: block_devs.stdout
when: noop_test.changed
Using sdkman gives a managed method for installing the latest versions of sdks such as Maven and Gradle which are not (knowingly) offered through CentOS repos
Should probably live with dev-angular.yml
Include versions 11 and 8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.