diff --git a/ansible/create_ec2.yml b/ansible/create_ec2.yml index fbf37bb..2c62f9d 100644 --- a/ansible/create_ec2.yml +++ b/ansible/create_ec2.yml @@ -18,7 +18,7 @@ remote_user: fedora tasks: - - name: test + - name: Add public keys authorized_key: user: fedora state: present @@ -29,3 +29,8 @@ - wwoods - asaleh + - name: Add hostname + hostname: + name: "{{ initiative_name }}" + become: true + become_method: sudo