Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aixPb: Fixes for Users task in aix playbook #3087

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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