Skip to content

Commit d8656c3

Browse files
committed
Add Python dnf for Fedora
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
1 parent 313beb6 commit d8656c3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

fedora42-ansible-latest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN dnf -y install systemd && dnf clean all && \
1313
rm -f /lib/systemd/system/anaconda.target.wants/*;
1414

1515
RUN dnf -y update \
16-
&& dnf -y install ansible python python3-libselinux \
16+
&& dnf -y install ansible python python3-libselinux python3-dnf \
1717
&& dnf clean all
1818

1919
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts

fedora43-ansible-latest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN dnf -y install systemd && dnf clean all && \
1313
rm -f /lib/systemd/system/anaconda.target.wants/*;
1414

1515
RUN dnf -y update \
16-
&& dnf -y install ansible python python3-libselinux \
16+
&& dnf -y install ansible python python3-libselinux python3-dnf \
1717
&& dnf clean all
1818

1919
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts

fedora44-ansible-latest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN dnf -y install systemd && dnf clean all && \
1313
rm -f /lib/systemd/system/anaconda.target.wants/*;
1414

1515
RUN dnf -y update \
16-
&& dnf -y install ansible python python3-libselinux \
16+
&& dnf -y install ansible python python3-libselinux python3-dnf \
1717
&& dnf clean all
1818

1919
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts

0 commit comments

Comments
 (0)