From 1e453e8df41d71dbba6987e9f00be9100f769f32 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 1 Feb 2021 07:56:00 -0600 Subject: [PATCH] Shell is prompting just fine on its own, no need for variable. Make sure leet folder exists. --- local.yml | 6 ------ tasks/general/acct_mgmt/keys.yml | 4 +--- tasks/general/acct_mgmt/mounts.yml | 5 ++++- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/local.yml b/local.yml index 1d26df1..60e7e33 100644 --- a/local.yml +++ b/local.yml @@ -7,12 +7,6 @@ connection: local become: true - vars_prompt: - - name: leet_passwd - prompt: 'Enter password for 1337 share: ' - unsafe: yes - private: yes - pre_tasks: - include: facts/system.yml - include: facts/package.yml diff --git a/tasks/general/acct_mgmt/keys.yml b/tasks/general/acct_mgmt/keys.yml index 7273bc1..6c6f9f9 100644 --- a/tasks/general/acct_mgmt/keys.yml +++ b/tasks/general/acct_mgmt/keys.yml @@ -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 }}" \ No newline at end of file + shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet \ No newline at end of file diff --git a/tasks/general/acct_mgmt/mounts.yml b/tasks/general/acct_mgmt/mounts.yml index 0a2d60f..a75b714 100644 --- a/tasks/general/acct_mgmt/mounts.yml +++ b/tasks/general/acct_mgmt/mounts.yml @@ -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: |