Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| - name: Ensure hostname set | |
| hostname: name={{ inventory_hostname }} | |
| when: not inventory_hostname|match('(\d{1,3}\.){3}\d{1,3}') | |
| - name: Ensure hostname is in /etc/hosts | |
| lineinfile: | |
| dest=/etc/hosts | |
| regexp="^{{ ansible_default_ipv4.address }}.+$" | |
| line="{{ ansible_default_ipv4.address }} {{ ansible_fqdn }} {{ ansible_hostname }}" |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/
| azure | |
| account | |
| list [options] #List the imported subscriptions | |
| show [options] [subscriptionNameOrId] #Show details about a subscription | |
| set [options] <subscriptionNameOrId> #Set the current subscription | |
| clear [options] #Remove a subscription or environment, or clear all of the stored account and environment info | |
| import [options] <file> #Import a publishsettings file or certificate for your account | |
| download [options] #Launch a browser to download your publishsettings file | |
| env... #Commands to manage your account environment |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE configuration> | |
| <project basedir="." default="all" name="sample"> | |
| <property name="javac.debug" value="true"/> | |
| <property name="javac.debuglevel" value="source,lines,vars"/> | |
| <property name="javac.target" value="1.6"/> | |
| <property name="javac.source" value="1.6"/> | |
| <property name="javac.encoding" value="utf-8"/> | |
| <property name="src.java.dir" value="src"/> |
| # Virtual Tunnel Interface | |
| # 172.196.17.188 - 172.196.17.191 | |
| set interfaces vti vti0 address 172.196.17.190/30 | |
| set interfaces vti vti0 description 'Virtual tunnel interface for VPN tunnel' | |
| # Phase 2 | |
| set vpn ipsec esp-group ESP-Default compression 'disable' | |
| set vpn ipsec esp-group ESP-Default lifetime '3600' | |
| set vpn ipsec esp-group ESP-Default mode 'tunnel' | |
| set vpn ipsec esp-group ESP-Default pfs 'dh-group16' |
| alias kc='kubectl' | |
| alias kclf='kubectl logs --tail=200 -f' | |
| alias kcgs='kubectl get service -o wide' | |
| alias kcgd='kubectl get deployment -o wide' | |
| alias kcgp='kubectl get pod -o wide' | |
| alias kcgn='kubectl get node -o wide' | |
| alias kcdp='kubectl describe pod' | |
| alias kcds='kubectl describe service' | |
| alias kcdd='kubectl describe deployment' | |
| alias kcdf='kubectl delete -f' |
docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
| We are using keystone as a global service and hence its centre of universe . | |
| Any api calls internal or via customer for the OpenStack cloud has to go via keystone for auth which internally calls ldap and ,etc. | |
| Also keystone is running on a seperate box , seperate from other OpenStack components. | |
| Need some approvals to post architecture related data and hence just briefed as above to give some insight. |