use correct boolean values
This commit is contained in:
parent
6bfd530c90
commit
374b5fc7ef
@ -24,7 +24,7 @@
|
|||||||
hostname: "{{ hypervisor_url }}"
|
hostname: "{{ hypervisor_url }}"
|
||||||
username: "{{ hypervisor_username }}"
|
username: "{{ hypervisor_username }}"
|
||||||
password: "{{ hypervisor_password }}"
|
password: "{{ hypervisor_password }}"
|
||||||
validate_certs: no
|
validate_certs: false
|
||||||
datacenter: "{{ hypervisor_cluster }}"
|
datacenter: "{{ hypervisor_cluster }}"
|
||||||
name: "{{ hostname }}"
|
name: "{{ hostname }}"
|
||||||
cdrom:
|
cdrom:
|
||||||
@ -72,4 +72,4 @@
|
|||||||
- name: Wait for VM to boot up
|
- name: Wait for VM to boot up
|
||||||
delegate_to: "{{ inventory_hostname }}"
|
delegate_to: "{{ inventory_hostname }}"
|
||||||
wait_for_connection:
|
wait_for_connection:
|
||||||
timeout: 300
|
timeout: 300
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
owner: 1000
|
owner: 1000
|
||||||
group: 1000
|
group: 1000
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
create: yes
|
create: true
|
||||||
|
|
||||||
- name: Give sudo access to wheel group
|
- name: Give sudo access to wheel group
|
||||||
copy:
|
copy:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
filesystem:
|
filesystem:
|
||||||
dev: '{{ install_drive }}{{ main_partition_suffix }}'
|
dev: '{{ install_drive }}{{ main_partition_suffix }}'
|
||||||
fstype: btrfs
|
fstype: btrfs
|
||||||
force: yes
|
force: true
|
||||||
|
|
||||||
- name: Prepare BTRFS Subvolume
|
- name: Prepare BTRFS Subvolume
|
||||||
mount:
|
mount:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
filesystem:
|
filesystem:
|
||||||
dev: '/dev/sys/{{ item.lv }}'
|
dev: '/dev/sys/{{ item.lv }}'
|
||||||
fstype: ext4
|
fstype: ext4
|
||||||
force: yes
|
force: true
|
||||||
loop:
|
loop:
|
||||||
- { lv: root }
|
- { lv: root }
|
||||||
- { lv: home }
|
- { lv: home }
|
||||||
@ -20,4 +20,4 @@
|
|||||||
- { lv: home }
|
- { lv: home }
|
||||||
- { lv: var }
|
- { lv: var }
|
||||||
- { lv: var_log }
|
- { lv: var_log }
|
||||||
- { lv: var_log_audit }
|
- { lv: var_log_audit }
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
dev: '{{ install_drive }}{{ boot_partition_suffix }}'
|
dev: '{{ install_drive }}{{ boot_partition_suffix }}'
|
||||||
fstype: vfat
|
fstype: vfat
|
||||||
opts: -F32
|
opts: -F32
|
||||||
force: yes
|
force: true
|
||||||
|
|
||||||
- name: Create filesystem
|
- name: Create filesystem
|
||||||
include_tasks: "{{ filesystem }}.yml"
|
include_tasks: "{{ filesystem }}.yml"
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
filesystem:
|
filesystem:
|
||||||
dev: '/dev/sys/{{ item.lv }}'
|
dev: '/dev/sys/{{ item.lv }}'
|
||||||
fstype: xfs
|
fstype: xfs
|
||||||
force: yes
|
force: true
|
||||||
loop:
|
loop:
|
||||||
- { lv: root }
|
- { lv: root }
|
||||||
- { lv: home }
|
- { lv: home }
|
||||||
- { lv: var }
|
- { lv: var }
|
||||||
- { lv: var_log }
|
- { lv: var_log }
|
||||||
- { lv: var_log_audit }
|
- { lv: var_log_audit }
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
hostname: "{{ hypervisor_url }}"
|
hostname: "{{ hypervisor_url }}"
|
||||||
username: "{{ hypervisor_username }}"
|
username: "{{ hypervisor_username }}"
|
||||||
password: "{{ hypervisor_password }}"
|
password: "{{ hypervisor_password }}"
|
||||||
validate_certs: no
|
validate_certs: false
|
||||||
datacenter: "{{ hypervisor_cluster }}"
|
datacenter: "{{ hypervisor_cluster }}"
|
||||||
cluster: "{{ hypervisor_node }}"
|
cluster: "{{ hypervisor_node }}"
|
||||||
folder: "{{ vm_path }}"
|
folder: "{{ vm_path }}"
|
||||||
@ -30,4 +30,4 @@
|
|||||||
networks:
|
networks:
|
||||||
- vlan: "{{ vlan_name }}"
|
- vlan: "{{ vlan_name }}"
|
||||||
type: dhcp
|
type: dhcp
|
||||||
ignore_errors: yes
|
ignore_errors: true
|
||||||
|
Loading…
Reference in New Issue
Block a user