summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-master
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2015-04-08 16:33:55 +0200
committerLénaïc Huard <lhuard@amadeus.com>2015-04-10 16:02:51 +0200
commit9fbec064d28a72963b1566258b4bcabcd63b2c23 (patch)
treebe154b3f1a19f7fa9a65bb936d244842c1a07bd5 /playbooks/libvirt/openshift-master
parentfbea3dd0b32457d208c76c1fc5619ac1e4e6c604 (diff)
downloadopenshift-9fbec064d28a72963b1566258b4bcabcd63b2c23.tar.gz
openshift-9fbec064d28a72963b1566258b4bcabcd63b2c23.tar.bz2
openshift-9fbec064d28a72963b1566258b4bcabcd63b2c23.tar.xz
openshift-9fbec064d28a72963b1566258b4bcabcd63b2c23.zip
Add libvirt as a provider
Diffstat (limited to 'playbooks/libvirt/openshift-master')
-rw-r--r--playbooks/libvirt/openshift-master/config.yml21
l---------playbooks/libvirt/openshift-master/filter_plugins1
l---------playbooks/libvirt/openshift-master/roles1
-rw-r--r--playbooks/libvirt/openshift-master/vars.yml1
4 files changed, 24 insertions, 0 deletions
diff --git a/playbooks/libvirt/openshift-master/config.yml b/playbooks/libvirt/openshift-master/config.yml
new file mode 100644
index 000000000..dd95fd57f
--- /dev/null
+++ b/playbooks/libvirt/openshift-master/config.yml
@@ -0,0 +1,21 @@
+- name: master/config.yml, populate oo_masters_to_config host group if needed
+ hosts: localhost
+ gather_facts: no
+ tasks:
+ - name: "Evaluate oo_host_group_exp if it's set"
+ add_host:
+ name: '{{ item }}'
+ groups: oo_masters_to_config
+ with_items: "{{ oo_host_group_exp | default('') }}"
+ when: oo_host_group_exp is defined
+
+- name: Configure instances
+ hosts: oo_masters_to_config
+ vars:
+ openshift_hostname: '{{ ansible_default_ipv4.address }}'
+ vars_files:
+ - vars.yml
+ roles:
+ - openshift_master
+ - pods
+ - os_env_extras
diff --git a/playbooks/libvirt/openshift-master/filter_plugins b/playbooks/libvirt/openshift-master/filter_plugins
new file mode 120000
index 000000000..99a95e4ca
--- /dev/null
+++ b/playbooks/libvirt/openshift-master/filter_plugins
@@ -0,0 +1 @@
+../../../filter_plugins \ No newline at end of file
diff --git a/playbooks/libvirt/openshift-master/roles b/playbooks/libvirt/openshift-master/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/libvirt/openshift-master/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file
diff --git a/playbooks/libvirt/openshift-master/vars.yml b/playbooks/libvirt/openshift-master/vars.yml
new file mode 100644
index 000000000..ad0c0fbe2
--- /dev/null
+++ b/playbooks/libvirt/openshift-master/vars.yml
@@ -0,0 +1 @@
+openshift_debug_level: 4