Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domwhewell-sage committed Nov 10, 2024
1 parent 0173b87 commit 4d69f3c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bbot/modules/jadx.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ class jadx(BaseModule):
},
{
"name": "Install latest JRE (Fedora)",
"package": {"name": ["java-latest-openjdk"], "state": "present"},
"package": {"name": ["java-latest-openjdk-headless"], "state": "present"},
"become": True,
"when": "ansible_facts['os_family'] == 'RedHat'",
},
{
"name": "Set JAVA_HOME (Fedora)",
"lineinfile": {"path": "/etc/profile.d/java.sh", "line": "export JAVA_HOME=$(readlink -f /usr/bin/java | sed 's:bin/java::')", "create": True},
"lineinfile": {
"path": "/etc/profile.d/java.sh",
"line": "export JAVA_HOME=$(readlink -f /usr/bin/java | sed 's:bin/java::')",
"create": True,
},
"become": True,
"when": "ansible_facts['os_family'] == 'RedHat'",
},
Expand Down

0 comments on commit 4d69f3c

Please sign in to comment.