This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.define "caasp", autostart: true do |caasp| | |
caasp.box = "dcermak/openSUSE-Leap-15.1-Vagrant.x86_64" | |
caasp.vm.hostname = "caasp" | |
caasp.vm.provider :libvirt do |domain| | |
domain.memory = 4096 | |
domain.cpus = 2 | |
domain.storage :file, :size => '5G', :device => 'vdb', :type => 'raw' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: nginx-example | |
labels: | |
app: nginx | |
--- | |
apiVersion: apps/v1beta1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl https://whatthecommit.com/index.txt -o $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# json: cannot unmarshal array into Go struct field HelmParameter.value of type string | |
destination: | |
namespace: argocd | |
server: https://kubernetes.default.svc | |
project: default | |
source: | |
helm: | |
parameters: | |
- name: alertmanager.ingress.hosts | |
value: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dev-env) jean-philippe@laptop-dell ~/g/e/osa_cli_releases> docker run -it ubuntu:bionic | |
Unable to find image 'ubuntu:bionic' locally | |
bionic: Pulling from library/ubuntu | |
6abc03819f3e: Pull complete | |
05731e63f211: Pull complete | |
0bd67c50d6be: Pull complete | |
Digest: sha256:f08638ec7ddc90065187e7eabdfac3c96e5ff0f6b2f1762cf31a4f49b53000a5 | |
Status: Downloaded newer image for ubuntu:bionic | |
root@246db2aa1e4d:/# apt update && apt install -y build-essential libblas-dev libffi-dev libssl-dev libsasl2-dev libxml2-dev python-dev pkg-config | |
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to fish, the friendly interactive shell | |
jean-philippe@laptop-dell ~> docker run -it centos | |
[root@e2a364752962 /]# yum install blas-devel cyrus-sasl-devel gcc-c++ libffi-devel libgcrypt openssl-devel python-virtualenv python-devel make | |
Loaded plugins: fastestmirror, ovl | |
Determining fastest mirrors | |
* base: centos.mirror.nucleus.be | |
* extras: centos.mirror.nucleus.be | |
* updates: centos.mirror.nucleus.be | |
base | 3.6 kB 00:00:00 | |
extras | 3.4 kB 00:00:00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: galera_all[0] | |
tasks: | |
- name: Create DB for service | |
mysql_db: | |
login_user: "{{ galera_root_user }}" | |
login_password: "{{ galera_root_password }}" | |
login_host: "{{ galera_address }}" | |
login_port: 3306 | |
name: keystone | |
state: "present" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat test.sh | |
#!/bin/bash | |
set -e | |
VAR="aa" | |
echo ${VAR} ${VAR2+x} | |
./test.sh; echo $? | |
0 | |
cat test2.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graham@jump:~/repos/github/phhusson/quassel-irssi/core/lib$ git diff | |
diff --git a/getters.c b/getters.c | |
index e6bb564..51da7b7 100644 | |
--- a/getters.c | |
+++ b/getters.c | |
@@ -160,6 +160,8 @@ void get_variant_t(char **buf, int type) { | |
case 16: | |
get_date(buf); | |
break; | |
+ case 22: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set_fact: | |
foo_contents: "{{ lookup('template','foo.yaml') }}" # or , if non local, slurp the file and b64decode first | |
# use config template | |
config_template: | |
src: 'bar.yaml' | |
dest: 'bar.yaml' | |
config_overrides: "{{ foo_contents }}" | |
config_type: yaml |