Hi ๐, I'm Ondrej Sika from SikaLabs
Docker | Kubernetes | Terraform | Rancher | Gitlab CI | Git |
---|
Docker | Kubernetes | Terraform | Rancher | Gitlab CI | Git |
---|
ansible-playbook --vault-pass-file <(echo $PASSWORD) playbooks/ping.yml
[servers:children]
db
web
[web]
vm[0:1].sikademo.com
[db]
vm[2:3].sikademo.com
[router]
vm[4:5].sikademo.com
ansible lab0a.sikademo.com -m apt -a "name=cowsay update_cache=yes state=present"
tasks:
- set_fact:
list: []
- set_fact:
list: "{{ list + [0] }}"
- set_fact:
list: "{{ list + [1] }}"
- debug:
msg: "{{ list }}"
...
/var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml get nodes
ansible all -a 'sh -c "docker rm -f $(docker ps -aq)"'
ansible-playbook playbooks/nginx2.yml -e name=XXX
https://docs.ansible.com/ansible/latest/user_guide/playbooks_blocks.html#id4
---
- name: Rescue Example
hosts: all
gather_facts: false
tasks:
- name: Handle the error
block:
- name: Print a message
ansible.builtin.debug:
msg: 'I execute normally'
- name: Force a failure
ansible.builtin.command: /bin/false
- name: Never print this
ansible.builtin.debug:
msg: 'I never execute, due to the above task failing, :-('
rescue:
- name: Print when errors
ansible.builtin.debug:
msg: 'I caught an error, can do stuff here to fix it, :-)'
always:
- name: Always do this
ansible.builtin.debug:
msg: "This always executes, :-)"
ansible all -a 'sh -c "/usr/games/cowsay $(hostname)"'
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.