Create Security Group with Ansible

This commit is contained in:
Sebastian Haderecker 2019-08-13 09:16:02 +00:00
parent 579aaaa577
commit bf9a14081d

View file

@ -6,6 +6,17 @@
include_vars: include_vars:
file: roles/deploy/vars/os_auth.yaml file: roles/deploy/vars/os_auth.yaml
- name: Create security group
os_security_group:
auth:
auth_url: "{{ auth_url }}"
username: "{{ username }}"
password: "{{ password }}"
project_name: "{{ project_name }}"
os_user_domain_name: "{{ os_user_domain_name }}"
name: sg-tpot-any
description: tpot any-any
- name: Launch an instance - name: Launch an instance
os_server: os_server:
auth: auth: