Re: reloading pf through ansible easy hook

2016-11-23 Thread Antoine Jacoutot
On Wed, Nov 23, 2016 at 09:40:48AM -0500, sven falempin wrote: > On Mon, Nov 21, 2016 at 5:48 PM, Antoine Jacoutot > wrote: > > > > On Mon, Nov 21, 2016 at 05:34:35PM -0500, sven falempin wrote: > > > Ansible is already managing pkg and service of openBSD , cool > > > > >

Re: reloading pf through ansible easy hook

2016-11-23 Thread sven falempin
On Mon, Nov 21, 2016 at 5:48 PM, Antoine Jacoutot wrote: > > On Mon, Nov 21, 2016 at 05:34:35PM -0500, sven falempin wrote: > > Ansible is already managing pkg and service of openBSD , cool > > > > If one want to manage pf with it, and push or modify a few files, > > on

Re: reloading pf through ansible easy hook

2016-11-22 Thread gwes
On 11/22/16 15:36, John Boeske wrote: On Tue, Nov 22, 2016 at 10:46 AM, John Boeske wrote I don't understand this philosophical point - why wouldn't you want the rc.d framework to manage pf, quota, etc. whenever it's natural. With pf, for example, it surely is. One of the reasons I loved

Re: reloading pf through ansible easy hook

2016-11-22 Thread John Boeske
On Tue, Nov 22, 2016 at 10:46 AM, John Boeske wrote > On Mon, Nov 21, 2016 at 3:48 PM, Antoine Jacoutet wrote > > On Mon, Nov 21, 2016 at 05:34:35PM -0500, sven falempin wrote: > > > Ansible is already managing pkg and service of openBSD , cool > > > > > > If one want to manage pf with it, and

Re: reloading pf through ansible easy hook

2016-11-22 Thread John Boeske
On Mon, Nov 21, 2016 at 3:48 PM, Antoine Jacoutet wrote > On Mon, Nov 21, 2016 at 05:34:35PM -0500, sven falempin wrote: > > Ansible is already managing pkg and service of openBSD , cool > > > > If one want to manage pf with it, and push or modify a few files, > > on must run - command:

Re: reloading pf through ansible easy hook

2016-11-22 Thread BARDOU Pierre
- De : owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] De la part de Landry Breuil Envoyé : mardi 22 novembre 2016 14:53 À : tech@openbsd.org Objet : Re: reloading pf through ansible easy hook On Tue, Nov 22, 2016 at 11:15:01AM +, BARDOU Pierre wrote: > Hello, > > - name:

Re: reloading pf through ansible easy hook

2016-11-22 Thread Landry Breuil
On Tue, Nov 22, 2016 at 11:15:01AM +, BARDOU Pierre wrote: > Hello, > > - name: "Loading pf.conf" > template: src=pf.conf dest=/etc/ validate="pfctl -f %s" Fwiw, i find it nicer to validate with 'pfctl -nf' .. Landry

Re: reloading pf through ansible easy hook

2016-11-22 Thread BARDOU Pierre
BARDOU -Message d'origine- De : owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] De la part de Antoine Jacoutot Envoyé : lundi 21 novembre 2016 23:48 À : sven falempin <sven.falem...@gmail.com> Cc : tech@openbsd.org Objet : Re: reloading pf through ansible easy hook On Mon,

Re: reloading pf through ansible easy hook

2016-11-21 Thread Antoine Jacoutot
On Mon, Nov 21, 2016 at 05:34:35PM -0500, sven falempin wrote: > Ansible is already managing pkg and service of openBSD , cool > > If one want to manage pf with it, and push or modify a few files, > on must run - command: /sbin/pfctl -f {{ dank.config }} > > Yet - service could be use, if this