Date: Mon, 20 Jun 2016 21:17:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210075] sysutils/ansible: add uid/gid to allow running as a daemon Message-ID: <bug-210075-13-KPln2bMNrb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210075-13@https.bugs.freebsd.org/bugzilla/> References: <bug-210075-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210075 --- Comment #3 from Dave Cottlehuber <dch@skunkwerks.at> --- Thanks Nikolai for the reply & sorry for the delayed return. As I mentioned ansible can operate in either pull mode, or push. In architecture this is largely similar to a puppet apply or similar strategy. The pull mode, while less common, provides a more scalable approach and optional redundancy where ansible retrieves configuration via git or other repo, and runs itself locally, applying to localhost, viz http://docs.ansible.com/ansible/playbooks_intro.html#ansible-pull which I'm sure you're aware of. The primary reason for requesting a dedicated account is that, for any pers= on needing to set up a pull mode, immediately falls into the issue of ensuring that the appropriate gid/uid are actually free, and will not conflict in the future with some other unforseen application or service that has not yet be= en deployed. Not all daemons need to be root-equivalent, and this is a good example. This is not a theoretical consideration -- it's what I am dealing with presently, while migrating from a linux puppet setup to a freebsd ansible o= ne. Changing uids is frustrating, and I'd rather only change once than end up needing to address it in future. It's fair to say that the patch is not onerous and doesn't represent any significant technical debt. wrt to cron support, ansible-pull is designed explicitly to be run cron-lik= e. The actual per-playbook steps are pretty straightforwards, https://github.com/dch/couchdb-vm/blob/master/local.yml for example, but it could just as easily be added to the examples directory that comes with the port for others to use. There are ample gid/uid free for the forseeable future in FreeBSD ports, we= ll over 2/3 of the space is unused. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210075-13-KPln2bMNrb>