From owner-freebsd-questions@freebsd.org Mon Oct 7 04:28:59 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46CDB13D880 for ; Mon, 7 Oct 2019 04:28:59 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46mnYP6xcpz4Dyv for ; Mon, 7 Oct 2019 04:28:57 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=KMM0j97Nln9RoXzTjZ1QuU53dakZGfcxrGV/v5AS93Q=; b=eQuYIYRoZpDLS0kmZvSausvwe8 txuNNRmLJqgSF+a9k9IXFvuq2/J2p7OtyfQfsiqH25j/f4TH5E8QQohU0tZRxwsBHA61lkpB5QXIv cBt0YTMCzkD5N8NzjDkLKFilqYoO78aQAUSURzT9kI0ZKy0ejyq7Vut++Dpiq46zxRL8=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iHKdk-0000eL-Lf for freebsd-questions@freebsd.org; Mon, 07 Oct 2019 11:28:56 +0700 Date: Mon, 7 Oct 2019 11:28:56 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Ansible for FreeBSD - use cases? Message-ID: <20191007042856.GB98441@admin.sibptus.ru> References: <20191005141507.GA1223@admin.sibptus.ru> <20191006184205.sr4gt3gmnzzzuzua@deathbolt.927589452.space> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <20191006184205.sr4gt3gmnzzzuzua@deathbolt.927589452.space> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46mnYP6xcpz4Dyv X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=eQuYIYRo; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-9.80), ipnet: 2001:19f0:5000::/38(-4.90), asn: 20473(-1.28), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2019 04:28:59 -0000 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable J wrote: > On 19-10-05 21:15:07, Victor Sudakov wrote: > > Is anyone using ansible on FreeBSD for anything useful in production? > yes > > > > I understand the power of ansible is in its modules. If there is no > > module for your task, you are in a fix. > > > > I've experimented with the pkgng module, it does install packages :-) > > Most modules are meant for Linux however. > > > Well the template and file modules work rather well > and the package module also supports pkgng allowing for a very easy > use. If I have packages in multiple jails, can ansible help me keep them all up-to-date? Without sshd inside jails? > > What FreeBSD tasks do you automate with ansible, and with what modules? > > > well bascially all my configurations are done with ansible > and the tools like vim or mutt don't care for the kernel Have you seen a good cookbook with ansible for FreeBSD examples? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdmr8IAAoJEA2k8lmbXsY0C6QIAKHVQv0pkD3vSde+/7dHSvlM f549Hfu9Xv5aWMN9eMUfNT6wbstqQ40fvxIsfdvPVuWD8eB07FGMI4qbAI8OZWaw xDV9tQ+bDbY8M1dTULwUYFT0Xc6Ugpz2/MNy1G7RoA8j0IJy/EN2bvlYynm015Q/ FYPr3g8eBo1WfKyZJGNkt4tlGVjmGfbFr7p3w0u9iV/4c6WDleHYxckMsB9B3R5M T7CdBUL+Ik8Cgu6J99pJMEXNLVgQ6R6/F9nAsI9BlN4JD2c1FHdDagEJGYQfie7i IEQFCOZFnMitotgdj1wkRK8aSDFMtzP0KgN7yjj0e/kEXAzgQkG69R/CLZbFHoI= =UKag -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--