Bug 240814 - [NEW PORT] sysutils/ansible-iocage: Ansible module for iocage
Summary: [NEW PORT] sysutils/ansible-iocage: Ansible module for iocage
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/fractalcells/ansib...
Depends on:
Reported: 2019-09-25 13:29 UTC by Lewis Cook
Modified: 2019-12-07 21:47 UTC (History)
2 users (show)

See Also:

port diff (5.08 KB, patch)
2019-09-25 13:29 UTC, Lewis Cook
vulcan: maintainer-approval+
Details | Diff
updated port diff (5.20 KB, patch)
2019-11-03 14:27 UTC, Lewis Cook
no flags Details | Diff
port diff (5.14 KB, patch)
2019-11-03 20:47 UTC, Lewis Cook
no flags Details | Diff
port diff (5.11 KB, patch)
2019-11-04 14:51 UTC, Lewis Cook
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Cook freebsd_triage 2019-09-25 13:29:06 UTC
Created attachment 207801 [details]
port diff

Ansible module for the iocage utility: convenient, lightweight
and easy jail management.

WWW: https://github.com/fractalcells/ansible-iocage
Comment 1 Lewis Cook freebsd_triage 2019-11-03 14:27:33 UTC
Created attachment 208821 [details]
updated port diff

* Added shebang fix, replaced ${EGREP} with ${GREP}, formatted with portfmt.
Comment 2 Lewis Cook freebsd_triage 2019-11-03 20:47:48 UTC
Created attachment 208828 [details]
port diff

* Amended ANSIBLE_MOD, remove un-needed call to 'ansible-config'.
Comment 3 Lewis Cook freebsd_triage 2019-11-04 14:51:19 UTC
Created attachment 208858 [details]
port diff

* Further revision of Makefile as suggested in bug#240788.
Comment 4 Johannes Jost Meixner freebsd_committer 2019-11-11 08:19:18 UTC

The patch you want to put into files/ is unnecessary since https://github.com/fractalcells/ansible-iocage/pull/18/files.

I do think ports is the wrong place for this tool and it'd be a better idea to just ship it via ansible galaxy:


Comment 5 Lewis Cook freebsd_triage 2019-11-12 15:19:46 UTC
(In reply to Johannes Jost Meixner from comment #4)

Hi, thanks for your response.

Regarding the the port, I initially created this submission in favor of having the module available system-wide rather than on a case-by-case basis with Ansible galaxy locally, specific to a local project and role. iocage tends to be the goto for jail management and I believe it would be extremely helpful for those who wish to administrate jails with Ansible, and subsequently is the reason I submitted the sysrc module port (as of late was merged), providing much needed functionality to manipulate rc.conf on FreeBSD.

By having this it's more than trivial to interface with iocage and Ansible, and for those who want this globally, great, and definitely a convenience.

Ultimately, ports are available system wide, as such think this could be applicable to Ansible modules (to an extent). Whilst on the flip-side I understand the reasoning to keeping it solely to galaxy, but the alternative option of a port would be nice. Cheers!