Skip to content

Commit

Permalink
More explicit still.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Carrigan committed Aug 6, 2016
1 parent 7211f90 commit f4b52a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tasks/asdf.yml
@@ -1,11 +1,11 @@
---
- name: "install asdf"
git: repo="https://github.com/HashNuke/asdf.git" dest="{{ deployer }}/.asdf" update=yes
git: repo="https://github.com/HashNuke/asdf.git" dest="/home/{{ deployer }}/.asdf" update=yes
remote_user: "{{deployer}}"


- name: "source asdf in bashrc"
lineinfile: dest="/home/{{ deployer }}/.bash_profile" create=yes line="source ~/.asdf/asdf.sh"
lineinfile: dest="/home/{{ deployer }}/.bash_profile" create=yes line="source /home/{{ deployer }}/.asdf/asdf.sh"
remote_user: "{{deployer}}"


Expand Down
4 changes: 2 additions & 2 deletions tasks/deployer-user.yml
Expand Up @@ -4,7 +4,7 @@


- name: "read authorized keys from root user"
command: "cat ~/.ssh/authorized_keys"
command: "cat /home/{{ deployer }}/.ssh/authorized_keys"
register: "root_authorized_keys"


Expand All @@ -21,5 +21,5 @@


- name: "ensure projects directory"
file: path="~/projects" state=directory
file: path="/home/{{deplyer}}/projects" state=directory
remote_user: "{{ deployer }}"

0 comments on commit f4b52a3

Please sign in to comment.