helm tiller run $(CHART_NAMESPACE) -- bash -c "helm install \
--name $(CHART_NAME) \
--namespace=$(CHART_NAMESPACE) \
-f <(kubectl get secrets helm-secret-values -o jsonpath='{.data.app}' | base64 --decode) \
$(CHART)"
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
git checkout develop | |
git pull engx develop # now your develop branch is up to date with what is currently checked in on develop in github | |
git checkout <name of your feature branch> | |
hack hack hack | |
git commit |
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
- name: Install Helm chart | |
include_role: | |
name: k8s.helm | |
tasks_from: install | |
apply: | |
tags: | |
- never | |
- helm-install | |
loop: | |
- chart: "{{ _helm_chart }}" |
I hereby claim:
- I am retr0h on github.
- I am retr0h (https://keybase.io/retr0h) on keybase.
- I have a public key whose fingerprint is 6D96 1F4A 1864 CE9C 5ED9 D99B D312 9167 EFCA 1072
To claim this, I am signing this object:
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
bindkey -M vicmd "k" history-search-backward | |
bindkey -M vicmd "j" history-search-forward | |
bindkey -M vicmd "?" history-incremental-search-backward | |
bindkey -M vicmd "/" history-incremental-search-forward | |
bindkey -M isearch "k" history-search-backward | |
bindkey -M isearch "j" history-search-forward |
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
[xxx@mcp1 ~]$ ip addr a | |
Not enough information: "dev" argument is required. | |
[metacloud@mcp1 ~]$ ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 | |
link/ether de:56:82:80:aa:37 brd ff:ff:ff:ff:ff:ff | |
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 |
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
[jodewey:~/git/molecule_2/test/scenarios/driver/docker] [molecule2-env-2.7.13] master(+4/-0)+ ± git diff | |
diff --git a/test/scenarios/driver/docker/molecule/default/tests/test_default.py b/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
index 5143d9b..6b77b07 100644 | |
--- a/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
+++ b/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
@@ -26,3 +26,7 @@ def test_etc_molecule_ansible_hostname_file(host): | |
assert f.user == 'root' | |
assert f.group == 'root' | |
assert f.mode == 0o644 | |
+ |
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
#!/usr/bin/env python | |
import os | |
import ansible.constants | |
import ansible.inventory | |
import ansible.playbook | |
import ansible.plugins.callback | |
import ansible.parsing.dataloader | |
import ansible.utils.vars |
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
import json | |
import ansible | |
import ansible.cli | |
import ansible.cli.playbook | |
import ansible.executor.task_queue_manager | |
import ansible.inventory | |
import ansible.parsing.dataloader | |
import ansible.playbook.play | |
import ansible.plugins.callback |
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
def osclient(cmd, | |
auth_url=None, | |
auth_host=None, | |
auth_host_scheme='http', | |
username='admin', | |
user_domain_name='Default', | |
password='admin', | |
project='admin', | |
project_domain_name='Default', | |
domain_name=None, |
NewerOlder