...
change the ec2_key var $ ansible-vault edit roles/launchgroup_ec2/vars/main.ymlall
useful command if you're having problems with the key: $ openssl rsa -in chf_prod.pem -check
ensure your ssh keys will be used for deploy; see roles/housekeeping/tasks/users_groups_dirs.ymlsee in keys_to_add in group_vars/all
run the ansible playbook (see 'executing scripts' above)
...
Host chf1
Hostname NEW.IP
User deployhydep
IdentityFile#IdentityFile ~/.ssh/your_key
ForwardAgent yes
...
ssh to the ec2 machine as 'ubuntu' user (because you will need sudo). you can create a new ssh config entry if you want; this will either use the key you downloaded in the first step or if you have added your own key you can use that.
$ sudo service tomcat7 restart
...