Skip to content

Instantly share code, notes, and snippets.

View fabianvf's full-sized avatar

Fabian von Feilitzsch fabianvf

View GitHub Profile
@fabianvf
fabianvf / pip requirements
Last active February 1, 2017 11:37
ansible pip install lxml
- name: Install lxml requirements
apt: "pkg={{ item }} state=present update_cache=yes"
sudo: yes
with_items:
- python-dev
- libxml2
- libxml2-dev
- libxslt1-dev
- lib32z1-dev
- libssl-dev
@fabianvf
fabianvf / tmp
Created February 19, 2018 20:14
{"dockerImageMetadataVersion": "1.0", "dockerImageLayers": [{"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:af4b0a2388c69010cf675c050e51cb1fabbdf2303f955c31805b280324fd4523", "size": 73673211}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:cd2a3f5b40aec8ab0f334bc11f3198f0a4148d2ee736c1e6d113d663a245785d", "size": 7840118}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:8bc68d31852a947c8baf3d1966c7abbd743ac68df5ac20e31a12951c6d5e7335", "size": 4419}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:32c96411826bc7ff61d7b7600f5f93d68a7a95363cd35409e728fab84844c0cd", "size": 172026}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:b7ff7f3aa64f4be8857bfeb9aaeb6dde2b8eca7a75ad513c359e0272946421df", "size": 90636991}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "name": "sha256:5171f2e47af85e7aeb96e4990e376e61f65042ce5fe
---
- hosts: localhost
connection: local
become: true
gather_facts: false
vars:
proxy_passthrough: false
env:
name: ALBUM_TITLE
---
- hosts: localhost
connection: local
become: true
gather_facts: false
vars:
proxy_passthrough: false
env:
name: ALBUM_TITLE
---
- hosts: oo_first_master
roles:
- lib_openshift
post_tasks:
- when: osm_default_node_selector is not defined
block:
- name: Retrieve non-infra, non-master nodes
oc_obj:
---
- hosts: oo_first_master
roles:
- lib_openshift
post_tasks:
- when: osm_default_node_selector is not defined
block:
- name: Retrieve non-infra, non-master nodes
oc_obj:
[foreman]
foreman.example.org
[masters:children]
foreman_hostgroup_openshift_nodes_openshift_master
[etcd:children]
masters
[foreman_hostgroup_openshift_nodes_openshift_master]
---
- hosts: localhost
connection: local
become: true
gather_facts: false
tasks:
- debug:
msg: "{{hostvars[groups.new_nodes.0]}}"
#!ipxe
set base-url http://stable.release.core-os.net/amd64-usr/current
kernel ${base-url}/coreos_production_pxe.vmlinuz initrd=coreos_production_pxe_image.cpio.gz coreos.first_boot=1 coreos.config.url=https://example.com/pxe-config.ign
initrd ${base-url}/coreos_production_pxe_image.cpio.gz
boot
---
# Assumes that there is an existing 3.9 service broker installation
- import_playbook: init/main.yml
- hosts: oo_first_master
roles:
- lib_openshift
- openshift_facts