Questions tagged [ansible]
Ansible is an automation tool ("IT orchestration engine", per the company web site) for the deployment and configuration of applications and systems.
514 questions
1 vote
1 answer
91 views
Is the Playbook I Wrote Secure and Effective?
This is my first time posting here, and I’m quite excited. I’ve written a playbook and would like to know whether it achieves the intended results fully, and if there’s anything I should improve or ...
6 votes
2 answers
812 views
Ansible will not accept the quoting that it is telling me to add
I'm writing an ansible playbook, which I'm fairly to. I'm having issues with ansible-playbook complaining about my quotes, which from my understanding are correct. I've tried 3 things described at the ...
2 votes
1 answer
175 views
Fapolicy blocking Ansible on RHEL 9
I work in a STIG environment with Active Directory integration for logins. When I try and run an Ansible script, my RHEL 9 machines return back the following error: "module_stdout": "/...
0 votes
0 answers
27 views
How to add IGMP protocol with Ansible builtin redhat.rhel_system_roles.firewall role
I want to add an IGMP protocol to firewalld on a RHEL9 host. I could easily achieve it by running the following command: firewall-cmd --add-protocol=igmp However, things become different when it comes ...
1 vote
0 answers
647 views
Error: Connection activation failed: IP configuration could not be reserved
I am provisioning RHEL 9 machines via an Ansible playbook that contains this task: - name: Set DNS server community.general.nmcli: conn_name: "{{ conn_name | default('ens192') }}" ...
0 votes
2 answers
102 views
dnf tries to update Java package despite being versionlocked
On several of my RHEL 9 machines managed by Ansible, the java-1.8.0-openjdk package is versionlocked: - name: java-1.8.0-openjdk-1:1.8.0.402.b06-2.el9 state: present However, Ansible tries to ...
0 votes
1 answer
156 views
What is changing /etc/sssd/sssd.conf?
I have an Ansible playbook that writes to /etc/sssd/sssd.conf this Jinja template (variables are defined somewhere else): # This line is just to check that the file is written correctly [sssd] ...
0 votes
1 answer
440 views
Joining domain via Ansible returns error "Already joined to this domain" while via shell is OK
I'm getting a strange message with Ansible. On a RHEL 9 server, I can join our domain via the shell command line realm join example.xyz --user=svc-ansible --computer-ou="OU=Linux Servers, OU=...