Skip to content

Commit

Permalink
nfs server: install also iptables on the node
Browse files Browse the repository at this point in the history
The iptables package on the target node is required by the
ansible.builtin.iptables module.
On EL9 iptables does not exist but it is provided by iptables-nft,
but keep iptables for now.
  • Loading branch information
tosky authored and openshift-merge-bot[bot] committed Apr 4, 2024
1 parent 1632065 commit 0247dd2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions playbooks/nfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
- not cifmw_edpm_deploy_nfs | default('false') | bool
ansible.builtin.meta: end_play
tasks:
- name: Install nfs-utils package
- name: Install required packages
ansible.builtin.package:
name: "nfs-utils"
name:
- nfs-utils
- iptables

- name: Configure nfs to use v4 only
community.general.ini_file:
Expand Down

0 comments on commit 0247dd2

Please sign in to comment.