diff options
-rw-r--r-- | host_vars/devami1 | 6 | ||||
-rw-r--r-- | hosts | 2 | ||||
-rw-r--r-- | site.yml | 8 |
3 files changed, 16 insertions, 0 deletions
diff --git a/host_vars/devami1 b/host_vars/devami1 new file mode 100644 index 0000000..430bc65 --- /dev/null +++ b/host_vars/devami1 @@ -0,0 +1,6 @@ +--- +ansible_host: ec2-3-8-40-197.eu-west-2.compute.amazonaws.com +ansible_user: ec2-user +ansible_ssh_private_key_file: ~/rescribe/2018-naturalphilosophy/aws/awsdev2.pem +# note: may need to set control_path in ~/.ansible.cfg as described at +# https://stackoverflow.com/questions/35970686/ansible-ssh-error-unix-listener-too-long-for-unix-domain-socket @@ -0,0 +1,2 @@ +[devami] +devami1 diff --git a/site.yml b/site.yml new file mode 100644 index 0000000..2261621 --- /dev/null +++ b/site.yml @@ -0,0 +1,8 @@ +--- + +- name: Configure devami servers + hosts: devami + become: yes + + roles: + - devami |