Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 35561

Use this tag for questions about Ansible, an open-source automation engine, related to using Ansible for topics such as cloud provisioning, configuration management, application deployment, etc.

0 votes

How can I check for an installed packaged version on multiple linux hosts?

The "Ansible approach" would look like this: - name: Check whether a package called snapd is installed ansible.builtin.debug: msg: "{{ ansible_facts.packages['snapd'].version }} version of snapd …
YoshiMbele's user avatar
6 votes
Accepted

How to reload the Firewalld service using Ansible?

As per the documentation the firewalld module can only be used to add / remove / update rules from the firewalld ruleset. To reload the service use the service module like this (as per documentation): …
YoshiMbele's user avatar
0 votes

How to keep packages updated and keep in pace with security updates

You could use pre-made roles like this one or this one or this one to manage apt for system related security upgrades.
YoshiMbele's user avatar