From efd914de402fcc8b2366da271dc9570907a16c62 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Wed, 26 Sep 2018 15:33:28 +0200 Subject: [PATCH] Allow ping and ssh by default. --- post-install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/post-install.yml b/post-install.yml index 24e7489..6ed7c66 100644 --- a/post-install.yml +++ b/post-install.yml @@ -22,6 +22,10 @@ --dns-nameserver 8.8.8.8 vlan983_subnet - openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano - openstack keypair create --public-key /root/id_rsa.pub adminkey + - openstack security group rule create --protocol icmp default + - > + openstack security group rule create default + --protocol tcp --dst-port 22:22 --remote-ip 0.0.0.0/0 - name: Install cirros image get_url: url: http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img