This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME USED AVAIL REFER MOUNTPOINT | |
zroot 301M 105G 96K /zroot | |
zroot/ROOT 299M 105G 96K none | |
zroot/ROOT/default 299M 105G 299M / | |
zroot/tmp 96K 105G 96K /tmp | |
zroot/usr 424K 105G 96K /usr | |
zroot/usr/home 136K 105G 136K /usr/home | |
zroot/usr/ports 96K 105G 96K /usr/ports | |
zroot/usr/src 96K 105G 96K /usr/src | |
zroot/var 620K 105G 96K /var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Check status of jailing | |
shell: "sysctl security.jail.jailed | cut -d: -f2 | tr -d ' '" | |
register: is_jail | |
when: "ansible_os_family == 'FreeBSD' " | |
- name: Fetch and Install Updates | |
command: "{{ item }}" | |
when: "ansible_os_family == 'FreeBSD' and is_jail.stdout == '0'" |