You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, what I ended up doing before applying this role is running a playbook like below:
- name: "XXX"
hosts: "XXX"
become: true
tasks:
# This step is necessary on (CIS-hardened) RHEL 8 hosts for the srsp.oracle-java role to
# successfully run since it deploys an executable script to /tmp.
# (Note: `state: remount` is not sufficient!)
- name: Remount /tmp in case the filesystem is set to noexec.
block:
- name: Unmount /tmp.
mount:
path: /tmp
state: unmounted
ignore_errors: true # This task will fail after its first execution.
- name: Remount /tmp.
mount:
path: /tmp
state: mounted
src: tmpfs
fstype: tmpfs
opts: exec
Similar to #22 Except im hitting it on check java version, and Im installing from git/master already.
Vars:
The text was updated successfully, but these errors were encountered: