community / community.general / 1.3.11 / module / portinstall Installing packages from FreeBSD's ports system Authors: berenddeboer (@berenddeboer)community.general.portinstall (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Manage packages for FreeBSD using 'portinstall'.
- name: Install package foo community.general.portinstall: name: foo state: present
- name: Install package security/cyrus-sasl2-saslauthd community.general.portinstall: name: security/cyrus-sasl2-saslauthd state: present
- name: Remove packages foo and bar community.general.portinstall: name: foo,bar state: absent
name: aliases: - pkg description: - name of package to install/remove required: true type: str state: choices: - present - absent default: present description: - state of the package required: false type: str use_packages: default: true description: - use packages instead of ports whenever available required: false type: bool