Check following ansible tasks in role context for errors and inconsistencies. Be…
- User
Check following ansible tasks in role context for errors and inconsistencies. Be laconic.
--- # tasks file for unarchive block: - name: Assure the target directory exists ansible.builtin.file: path: "{{ jdkdescriptor.dst.path }}" state: directory owner: "{{ jdkdescriptor.dst.owner }}" group: "{{ jdkdescriptor.dst.group }}" mode: "{{ jdkdescriptor.dst.mode }}" register: dir_created - name: Unarchive a TAR archive to specific destination ansible.builtin.unarchive: src: "{{ jdkdescriptor.src }}" dest: "{{ jdkdescriptor.dst.path }}" remote_src: "{{ jdkdescriptor.isremote }}" extra_opts: "{{ ['--strip-components=' + (jdkdescriptor.striplevel | default(1) | string)] if ( jdkdescriptor.striplevel | default(0) ) > 0 else [] }}" when: (dir_created is defined and dir_created.changed) or jdkdescriptor.force_deploy register: rc_unarchive - name: rebuild keystore entries include_role: name: update-jdk-keystore allow_duplicates: no vars: keytool_path: "{{ jdkdescriptor.dst.path }}/bin/keytool" keystore_file_name: "{{ jdkdescriptor.dst.path + '/lib/security/cacerts' if jdkdescriptor.vers_major > 8 else jdkdescriptor.dst.path + '/jre/lib/security/cacerts' }}" when: (rc_unarchive is defined and rc_unarhive.changed) or jdkdescriptor.force_cacert - name: create default symlink to ~mercateo/3rdparty/oepnjdk${version_major}_64bit ansible.builtin.file: src: "{{ jdkdescriptor.dst.path }}" dest: "/opt/mercateo/3rdparty/oepnjdk{{ jdkdescriptor.vers_major }}_{{ jdkdescriptor.bit }}bit" state: link force: true follow: false owner: mercateo group: readonly when: 'current' in jdkdescriptor.keys() and jdkdescriptor.current # block condition when: jdkdescriptor is defined and ( [ 'src', 'dst', 'isremote', 'striplevel', 'force_deploy', 'vers_major' ] | intersect(jdkdescriptor.keys()) | length == 6 ) and ( '['path','owner','mode'].intersect(jdkdescriptor.dst.keys()) | length == 3 ) and
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.