Set up the ports tree in poudriere.
This commit is contained in:
parent
a67aa176df
commit
60c4d66f1c
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user