Fixing relative path issue with ansible
This commit is contained in:
parent
bb79bccc9d
commit
77f348dcc0
@ -72,7 +72,6 @@ deploy-shockrah.xyz:
|
||||
- ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
script:
|
||||
- pwd && ls -Ra
|
||||
- ansible-playbook -i $INVENTORY scripts/deploy-blog.yml
|
||||
|
||||
|
||||
|
@ -3,7 +3,9 @@
|
||||
remote_user: ubuntu
|
||||
become: yes
|
||||
tasks:
|
||||
# Note that the path for src is relative to this playbook
|
||||
# not from the calling site
|
||||
- name: Copy Blog Content
|
||||
copy:
|
||||
src: "public/"
|
||||
src: "../public/"
|
||||
dest: /var/www/shockrah.xyz
|
||||
|
Loading…
Reference in New Issue
Block a user