updated java state
This commit is contained in:
parent
d46572f8f9
commit
9f8afd1ef8
@ -41,5 +41,7 @@ java-update-alternatives-script:
|
|||||||
java-default:
|
java-default:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: {{ java.install_dir }}/default/update-alternatives-java.sh
|
- name: {{ java.install_dir }}/default/update-alternatives-java.sh
|
||||||
|
- stateful: True
|
||||||
- require:
|
- require:
|
||||||
- archive: java-extract
|
- archive: java-extract
|
||||||
|
- file: java-update-alternatives-script
|
||||||
|
@ -5,3 +5,4 @@ do
|
|||||||
update-alternatives --install /usr/bin/${item} ${item} {{ java.install_dir }}/default/bin/${item} 1
|
update-alternatives --install /usr/bin/${item} ${item} {{ java.install_dir }}/default/bin/${item} 1
|
||||||
update-alternatives --set ${item} {{ java.install_dir }}/default/bin/${item}
|
update-alternatives --set ${item} {{ java.install_dir }}/default/bin/${item}
|
||||||
done
|
done
|
||||||
|
echo "changed=no comment='java alternatives up to date' whatever=123"
|
||||||
|
Loading…
Reference in New Issue
Block a user