Thanks for using ansible. To answer your question more information is needed.
- Which commands did you run, and what actual output did you get (copied as plain text - not as screenshots, images, or other binary attachments). - What do the relevant inventory/tasks/playbooks/code/variables look like. - The output of ‘ansible --version’ On Wed, 25 Mar 2020 at 04:38, Andrew Duty <[email protected]> wrote: > I suspect I am missing something simple, but when I try to use the awall > module to establish firewall rules on Alpine Linux, ansible hangs on the > awall activate task, even though allowing ssh is one of the rules I active. > If I ssh to the machine before running the task, the connection remains > intact, and I can establish new ssh connections as expected. It is only the > ansible connection that seems to get interrupted, but it does successfully > populate iptables rules via awall. Furthermore, I do not see the ansible > activate task in /var/log/messages. I'm guessing this is because the ssh > connection gets broken by the firewall. I am using ansible 2.9.6 and awall > 1.7.1-r0, and Alpine Linux 3.11.3 (will try on 3.11.5 soon). Is this just > an unavoidable limitation due to the way awall activates, making it > impossible to use ansible to configure awall from the ground up? > > -- > 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/cfaaed80-323b-494a-aa2d-4b176a02daf7%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cfaaed80-323b-494a-aa2d-4b176a02daf7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- 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/CAL8fbwP93MWE0JpQBAmbmVoPx2QuEiNgYeSf3dcHmgJ6%2BWPmFQ%40mail.gmail.com.
