Thanks guys in ended up using lininfile since i just wanted it at the bottom of the profile. Including the command just incase anyone else wants to see the format.
- name: Add a line to profile
lineinfile:
path: /etc/profile
line: PATH=<PATH TO ADD>:$PATH