Minor modifications for the DevoxxFR lab

This commit is contained in:
Jean-Christophe Sirot 2016-04-16 19:01:31 +02:00
parent 343a26434d
commit 3ff8b37177
5 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@ bin_dir: /usr/local/bin
# Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G)
local_release_dir: "/tmp/releases"
local_release_dir: "/opt/binaries/releases"
# Uncomment this line for CoreOS only.
# Directory where python binary is installed

View file

@ -25,7 +25,7 @@ spec:
capabilities:
add:
- NET_ADMIN
imagePullPolicy: Always
imagePullPolicy: Never
resources:
limits:
cpu: 100m

View file

@ -11,6 +11,7 @@
owner: "{{ item.owner|default(omit) }}"
mode: "{{ item.mode|default(omit) }}"
with_items: "{{ downloads }}"
when: False
- name: Extract archives
unarchive:

View file

@ -70,7 +70,7 @@
- name: Install latest version of python-apt for Debian distribs
apt: name=python-apt state=latest update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian"
when: False # ansible_os_family == "Debian"
- name: Install python-dnf for latest RedHat versions
command: dnf install -y python-dnf yum
@ -90,7 +90,7 @@
name: "{{ item }}"
state: latest
with_items: "{{required_pkgs | default([]) | union(common_required_pkgs|default([]))}}"
when: ansible_os_family != "CoreOS"
when: False # ansible_os_family != "CoreOS"
# Todo : selinux configuration
- name: Set selinux policy to permissive

View file

@ -25,7 +25,7 @@
volumeMounts:
- name: "networkconfig"
mountPath: "/etc/flannel-network.json"
imagePullPolicy: "Always"
imagePullPolicy: "Never"
- name: "flannel-container"
image: "quay.io/coreos/flannel:0.5.5"
command:
@ -43,4 +43,5 @@
mountPath: "/run/flannel"
securityContext:
privileged: true
imagePullPolicy: "Never"
hostNetwork: true