mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Compare commits
No commits in common. "1eb594b836ac7626e16c252eaf3049541c032394" and "dc7ee928274827a7caff236a46fe9c7c37f5d564" have entirely different histories.
1eb594b836
...
dc7ee92827
5 changed files with 3 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||
# see https://docs.openstack.org/infra/bindep/ for additional information.
|
||||
|
||||
rsync [platform:redhat]
|
||||
rsync [platform:rhel-8 platform:rhel-9]
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
|
||||
trivial:
|
||||
- firewalld_info - fixed typo in return value and improved examples in documentation
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
bugfixes:
|
||||
- rhel_facts - Call exit_json with all keyword arguments
|
||||
|
|
@ -37,11 +37,6 @@ EXAMPLES = r'''
|
|||
- name: Gather information about active zones
|
||||
ansible.posix.firewalld_info:
|
||||
active_zones: true
|
||||
register: result
|
||||
|
||||
- name: Print default zone for debugging
|
||||
ansible.builtin.debug:
|
||||
var: result.firewalld_info.default_zone
|
||||
|
||||
- name: Gather information about specific zones
|
||||
ansible.posix.firewalld_info:
|
||||
|
|
@ -49,7 +44,6 @@ EXAMPLES = r'''
|
|||
- public
|
||||
- external
|
||||
- internal
|
||||
register: result
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
@ -84,7 +78,7 @@ firewalld_info:
|
|||
returned: success
|
||||
type: str
|
||||
sample: 0.8.2
|
||||
default_zone:
|
||||
default_zones:
|
||||
description:
|
||||
- The zone name of default zone.
|
||||
returned: success
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ def main():
|
|||
if os.path.exists("/run/ostree-booted"):
|
||||
ansible_facts['pkg_mgr'] = 'ansible.posix.rhel_rpm_ostree'
|
||||
|
||||
module.exit_json(ansible_facts=ansible_facts, changed=False)
|
||||
module.exit_json(ansible_facts, changed=False)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue