Skip to content

Commit

Permalink
Also replace short module names for FQCNs in blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Feb 22, 2021
1 parent fe6b768 commit a2d053d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
- name: configure local rpm
block:
- name: copy oracle java (rpm)
copy:
ansible.builtin.copy:
src: "{{ java_package }}"
dest: "/tmp/{{ java_oracle_package }}"
mode: "0640"

- name: install oracle java (rpm) (local)
package:
ansible.builtin.package:
name: "/tmp/{{ java_oracle_package }}"
state: present
when:
Expand All @@ -47,13 +47,13 @@
- name: configure oracle targz
block:
- name: ensure java_install_directory exists
file:
ansible.builtin.file:
path: "{{ java_install_directory }}"
state: directory
mode: "0755"

- name: install oracle java (targz)
unarchive:
ansible.builtin.unarchive:
src: "{{ java_oracle_package }}"
dest: "{{ java_install_directory }}"
mode: "0755"
Expand Down

0 comments on commit a2d053d

Please sign in to comment.