mirror of
https://github.com/rocky-linux/ansible-role-ipa-getcert.git
synced 2024-12-22 16:38:30 +00:00
fix lint
This commit is contained in:
parent
29c04c17ba
commit
baa38c2f5c
@ -4,5 +4,11 @@ galaxy_info:
|
|||||||
company: Rocky Linux Foundation
|
company: Rocky Linux Foundation
|
||||||
license: MIT
|
license: MIT
|
||||||
min_ansible_version: 2.8
|
min_ansible_version: 2.8
|
||||||
galaxy_tags: []
|
platforms:
|
||||||
|
- name: EL
|
||||||
|
versions:
|
||||||
|
- 7
|
||||||
|
- 8
|
||||||
|
galaxy_tags:
|
||||||
|
- freeipa
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
shell: /usr/sbin/ipa-client-install --unattended 2>&1 | grep "already configured"
|
shell: /usr/sbin/ipa-client-install --unattended 2>&1 | grep "already configured"
|
||||||
register: ipacheck
|
register: ipacheck
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Check certificate existence
|
- name: Check certificate existence
|
||||||
stat:
|
stat:
|
||||||
@ -73,7 +74,8 @@
|
|||||||
group: "{{ item.owner | default(ipa_getcert_owner_default) }}"
|
group: "{{ item.owner | default(ipa_getcert_owner_default) }}"
|
||||||
mode: '0640'
|
mode: '0640'
|
||||||
with_items: "{{ ipa_getcert_requested_hostnames }}"
|
with_items: "{{ ipa_getcert_requested_hostnames }}"
|
||||||
when: ipa_getcert_chain
|
when:
|
||||||
|
- ipa_getcert_chain
|
||||||
|
- ipa_cert_request.rc == 0
|
||||||
when:
|
when:
|
||||||
- ipacheck.rc == 0
|
- ipacheck.rc == 0
|
||||||
- ipa_cert_request.rc == 0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user