mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-13 08:13:01 +02:00
debugged until sshkey registration
This commit is contained in:
parent
24e03b6faf
commit
2ab2c1d368
2 changed files with 8 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
||||||
- block:
|
- block:
|
||||||
- name: Include prompts
|
- name: Include prompts
|
||||||
import_tasks: prompts.yml
|
import_tasks: prompts.yml
|
||||||
|
|
||||||
- name: Security group created
|
- name: Security group created
|
||||||
local_action:
|
local_action:
|
||||||
module: cs_securitygroup
|
module: cs_securitygroup
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
- name: Security rules created
|
- name: Security rules created
|
||||||
local_action:
|
local_action:
|
||||||
module: cs_security_group_rule
|
module: cs_securitygroup_rule
|
||||||
security_group: "{{ cs_security_group.name }}"
|
security_group: "{{ cs_security_group.name }}"
|
||||||
protocol: "{{ item.proto }}"
|
protocol: "{{ item.proto }}"
|
||||||
start_port: "{{ item.port_min }}"
|
start_port: "{{ item.start_port }}"
|
||||||
end_port: "{{ item.port_max }}"
|
end_port: "{{ item.end_port }}"
|
||||||
cidr: "{{ item.range }}"
|
cidr: "{{ item.range }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { proto: tcp, start_port: 22, end_port: 22, range: 0.0.0.0/0 }
|
- { proto: tcp, start_port: 22, end_port: 22, range: 0.0.0.0/0 }
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
|
|
||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
pip:
|
pip:
|
||||||
name: cs
|
name:
|
||||||
version: 2.5.8
|
- cs
|
||||||
|
- sshpubkeys
|
||||||
|
state: latest
|
||||||
virtualenv: "{{ cloudstack_venv }}"
|
virtualenv: "{{ cloudstack_venv }}"
|
||||||
virtualenv_python: python2.7
|
virtualenv_python: python2.7
|
||||||
|
|
Loading…
Add table
Reference in a new issue