Skip to content

Commit

Permalink
os-devspace: define cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Sep 21, 2016
1 parent 59353ad commit 69e851d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/os-devspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

vars:

os_cloud: "omedev"
vm_image: "CentOS 7 1607"
vm_key_name: "jenkins"
vm_flavour: m2.large
Expand All @@ -36,12 +37,14 @@

- name: Docker external access security group
os_security_group:
cloud: "{{ os_cloud }}"
description: External access to Docker servers (managed by Ansible)
name: docker-devspace-external
state: present

- name: Docker external access security group rules
os_security_group_rule:
cloud: "{{ os_cloud }}"
direction: ingress
port_range_max: "{{ item }}"
port_range_min: "{{ item }}"
Expand All @@ -62,6 +65,7 @@

- name: Docker VM
os_server:
cloud: "{{ os_cloud }}"
name: "{{ vm_name }}"
state: present
image: "{{ vm_image }}"
Expand Down

0 comments on commit 69e851d

Please sign in to comment.