ansible-ferm icon indicating copy to clipboard operation
ansible-ferm copied to clipboard

Running simple playbooks kills SSH connection

Open htgoebel opened this issue 9 years ago • 3 comments

When setting up a fresh test system using

debops bootstrap --sudo -K -l server-test
debops yacy -l server-test   # this is my new playbook

the ssh connection get blocks as soon as "Apply iptables rules if ferm is enabled" is run.

The new playbook simply installs YaCr behind nginx.

htgoebel avatar Jan 08 '16 11:01 htgoebel

debops.ferm uses data gathered by debops.core role to allow connections from Ansible Controller. debops.core is a required role, so if you only want to use specific playbooks with a host without running the common.yml playbook, you should at least include the core.yml playbook in your set of playbooks.

Alternatively, you can use ferm_ansible_controllers to tell ferm which hosts should be explicitly allowed to connect to the remote host without any restrictions.

drybjed avatar Jan 08 '16 23:01 drybjed

I ran into this as well. I agree with @drybjed but this behaviour should be documented in BIG LETTERS on the debops-ferm doc entry page pls !

varac avatar Dec 11 '17 14:12 varac

You can do the PR yourself. :-) If you do, please do it against the DebOps monorepo so it can be included in the future documentation, when it's updated and exported from that repository.

drybjed avatar Dec 11 '17 19:12 drybjed