debugged until sshkey registration

This commit is contained in:
milkmix 2019-03-05 17:32:59 +01:00 committed by milkmix
parent 24e03b6faf
commit 2ab2c1d368
2 changed files with 8 additions and 6 deletions

View file

@ -16,11 +16,11 @@
- name: Security rules created
local_action:
module: cs_security_group_rule
module: cs_securitygroup_rule
security_group: "{{ cs_security_group.name }}"
protocol: "{{ item.proto }}"
start_port: "{{ item.port_min }}"
end_port: "{{ item.port_max }}"
start_port: "{{ item.start_port }}"
end_port: "{{ item.end_port }}"
cidr: "{{ item.range }}"
with_items:
- { proto: tcp, start_port: 22, end_port: 22, range: 0.0.0.0/0 }

View file

@ -7,7 +7,9 @@
- name: Install requirements
pip:
name: cs
version: 2.5.8
name:
- cs
- sshpubkeys
state: latest
virtualenv: "{{ cloudstack_venv }}"
virtualenv_python: python2.7