diff --git a/local.yml b/local.yml index 60e7e33..e8b8846 100644 --- a/local.yml +++ b/local.yml @@ -7,6 +7,13 @@ connection: local become: true + vars_prompt: + - name: leet_passwd + prompt: 'Enter password for 1337 share: ' + unsafe: yes + private: yes + when: ansible_distribution == "Pop!_OS" + 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 6e22cce..7273bc1 100644 --- a/tasks/general/acct_mgmt/keys.yml +++ b/tasks/general/acct_mgmt/keys.yml @@ -12,12 +12,6 @@ executable: /bin/bash ignore_errors: yes -- vars_prompt: - - name: leet_passwd - prompt: 'Enter password for 1337 share: ' - unsafe: yes - private: yes - - name: SSH Key | Root | Copy to 1337 shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet args: