From 827e0893000803d5359be4a61f71b94cc144043f Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 1 Feb 2021 07:04:41 -0600 Subject: [PATCH] Trying multiple ways of possibly fixing keygen error. Also disabled updating packages for now, could be unsafe if a broken update came out since machines would fall off scm. --- tasks/general/acct_mgmt/keys.yml | 14 +++++++++++++- tasks/general/software/packages.yml | 4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/tasks/general/acct_mgmt/keys.yml b/tasks/general/acct_mgmt/keys.yml index 5820bf3..fbd5774 100644 --- a/tasks/general/acct_mgmt/keys.yml +++ b/tasks/general/acct_mgmt/keys.yml @@ -7,7 +7,19 @@ # path: /root/.ssh/id_rsa - name: Create Root's SSH Key - shell: "ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n" + shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n + executable: /bin/bash + #ignore_errors: yes + +- name: Create Root's SSH Key + shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa + stdin: "n" + #ignore_errors: yes + +- name: Create Root's SSH Key + shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa + executable: /bin/bash + stdin: "n" #ignore_errors: yes - name: Join System to 1337 Share diff --git a/tasks/general/software/packages.yml b/tasks/general/software/packages.yml index 5fdce31..afe054b 100644 --- a/tasks/general/software/packages.yml +++ b/tasks/general/software/packages.yml @@ -13,19 +13,21 @@ - name: Repo Install Software package: name: + - bash - htop - neofetch - "{{ sshfs }}" - locate state: present -- name: Repo Update Software +- name: Repo Update Software (Disabled) package: name: - ansible - git - sudo state: latest + when: "1" == "0" - name: Repo Remove Software package: