Shell is prompting just fine on its own, no need for variable. Make sure leet folder exists.
This commit is contained in:
@ -13,6 +13,4 @@
|
||||
ignore_errors: yes
|
||||
|
||||
- name: SSH Key | Root | Copy to 1337
|
||||
shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet
|
||||
args:
|
||||
stdin: "{{ leet_passwd }}"
|
||||
shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet
|
@ -1,7 +1,10 @@
|
||||
---
|
||||
# Mount shares that all systems should have.
|
||||
|
||||
- name: Add 1337 to fstab
|
||||
- name: Mounts | Create 1337 Folder
|
||||
shell: mkdir -p /mnt/leet
|
||||
|
||||
- name: Mounts | Create 1337 fstab Entry
|
||||
blockinfile:
|
||||
path: /etc/fstab
|
||||
block: |
|
||||
|
Reference in New Issue
Block a user