Compare commits
No commits in common. "181111a951b126a0c12300035540a2591c609971" and "c5ca73d5cfb9d397b0428eb2f007a6273fd90620" have entirely different histories.
181111a951
...
c5ca73d5cf
10
playbook.yml
10
playbook.yml
@ -73,17 +73,11 @@
|
|||||||
register: incus_ready
|
register: incus_ready
|
||||||
until: incus_ready.rc == 0
|
until: incus_ready.rc == 0
|
||||||
|
|
||||||
- name: Preseed network and storage
|
- name: Run incus admin init with preseed
|
||||||
command: incus admin init --preseed
|
shell: incus admin init --preseed < init-preseed.yml
|
||||||
args:
|
args:
|
||||||
chdir: "{{ playbook_dir }}"
|
chdir: "{{ playbook_dir }}"
|
||||||
stdin: "{{ lookup('file', 'preseed-network-storage.yml') }}"
|
|
||||||
|
|
||||||
- name: Preseed profile and global config
|
|
||||||
command: incus admin init --preseed
|
|
||||||
args:
|
|
||||||
chdir: "{{ playbook_dir }}"
|
|
||||||
stdin: "{{ lookup('file', 'preseed-profile.yml') }}"
|
|
||||||
|
|
||||||
- name: Add current user to incus-admin group
|
- name: Add current user to incus-admin group
|
||||||
user:
|
user:
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
networks:
|
|
||||||
- config:
|
|
||||||
ipv4.address: 10.69.69.1/24
|
|
||||||
ipv4.nat: "true"
|
|
||||||
ipv6.address: none
|
|
||||||
name: incusbr0
|
|
||||||
type: bridge
|
|
||||||
|
|
||||||
storage_pools:
|
|
||||||
- config:
|
|
||||||
source: /var/lib/incus/storage-pools/default
|
|
||||||
name: default
|
|
||||||
driver: dir
|
|
@ -1,26 +0,0 @@
|
|||||||
profiles:
|
|
||||||
- name: default
|
|
||||||
config: {}
|
|
||||||
description: Default Incus profile
|
|
||||||
devices:
|
|
||||||
eth0:
|
|
||||||
name: eth0
|
|
||||||
network: incusbr0
|
|
||||||
type: nic
|
|
||||||
root:
|
|
||||||
path: /
|
|
||||||
pool: default
|
|
||||||
type: disk
|
|
||||||
|
|
||||||
config:
|
|
||||||
core.https_address: :8443
|
|
||||||
|
|
||||||
projects:
|
|
||||||
- name: default
|
|
||||||
config:
|
|
||||||
features.images: "true"
|
|
||||||
features.networks: "true"
|
|
||||||
features.profiles: "true"
|
|
||||||
features.storage.volumes: "true"
|
|
||||||
features.storage.buckets: "true"
|
|
||||||
features.networks.zones: "true"
|
|
Loading…
x
Reference in New Issue
Block a user