Set up the ports tree in poudriere.

This commit is contained in:
Tom Alexander 2022-12-10 18:25:33 -05:00
parent a67aa176df
commit 60c4d66f1c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -65,3 +65,18 @@
# loop:
# - src: poudriere.d
# dest: /usr/local/etc/
- name: Get ports tree list
command: poudriere ports -ln
register: ports_tree_list
changed_when: false
check_mode: no
# - name: Fetch a ports tree
# command: poudriere ports -c
# args:
# creates: /usr/local/poudriere/ports/default
- name: Configure the ports tree
command: poudriere ports -c -m null -M /usr/local/portshaker/trees/main -p default
when: '"default" not in ports_tree_list.stdout_lines'