Hello Dick,
I ran that command and received this error:
Collecting firewall
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
timed out. (read timeout=15)",)': /simple/firewall/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
timed out. (read timeout=15)",)': /simple/firewall/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
timed out. (read timeout=15)",)': /simple/firewall/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
timed out. (read timeout=15)",)': /simple/firewall/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
timed out. (read timeout=15)",)': /simple/firewall/
ERROR: Could not find a version that satisfies the requirement firewall (
from versions: none)
ERROR: No matching distribution found for firewall
On Tuesday, September 3, 2019 at 2:07:12 PM UTC-5, Dick Visser wrote:
>
> On Tue, 3 Sep 2019 at 20:43, Keith Mills <[email protected] <javascript:>>
> wrote:
> >
> > Hello All,
> >
> > I need to open firewall for http traffic for SLES 15 and I'm running
> into an error!
> >
> > Here is what I have:
> >
> > - name: open firewall for http traffic
> > firewalld:
> > service: http
> > permanent: true
> > immediate: true
> > state: enabled
> > when:
> > (ansible_distribution|lower == "redhat" and
> ansible_distribution_major_version|int == 8) or
> > (ansible_distribution|lower == "sles" and
> ansible_distribution_major_version == "15")
> >
> > Here is the error:
> >
> > fatal: [abls15ex]: FAILED! => {"changed": false, "msg": "Python Module
> not found: firewalld and its python module are required for this module,
> version 0.2.11 or newer required (0.3.9 or newer for
> offline operations)"}
> >
> > Can anyone help!?
>
>
> sudo pip install firewall
>
> then run the playbook again
>
>
> --
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a2fdcbfb-009e-46a2-9525-387f152b9544%40googlegroups.com.