diff --git a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/jenkins.yml b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/jenkins.yml index 153b6bfd26..c6c7cf587d 100644 --- a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/jenkins.yml +++ b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/jenkins.yml @@ -15,13 +15,5 @@ state: present key: "{{ lookup('file', '{{ Jenkins_User_SSHKey }}') }}" when: pubkey is defined and pubkey.stat.exists - delegate_to: localhost register: jenkins_pubkey tags: jenkins_user - -- name: Warn about missing authorization for jenkins - debug: - msg: "{{ Jenkins_User_SSHKey }} not included in authorizedkeys" - when: jenkins_pubkey is defined and - (jenkins_pubkey.skipped == true or jenkins_pubkey.failed == true) - tags: jenkins_user diff --git a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/zeus.yml b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/zeus.yml index 244b1fbf6f..e4ba0c3f93 100644 --- a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/zeus.yml +++ b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/users/tasks/zeus.yml @@ -31,8 +31,3 @@ state: present regexp: '^zeus' line: 'zeus ALL=(ALL) NOPASSWD: ALL' - -- name: Warn about missing authorization for zeus - debug: - msg: "{{ Zeus_User_SSHKey }} not included in authorizedkeys" - when: Superuser_Account == "Enabled" and zeus_pubkey.skipped