removed setup-host.yml playbook call

This commit is contained in:
Radar231 2023-12-17 20:29:30 -05:00
parent 843b74183b
commit 3b05433b03
1 changed files with 4 additions and 16 deletions

View File

@ -13,9 +13,8 @@
# and that the root user has a set of management ssh keys in its
# 'authorized_keys' file.
#
# It will run through a number of roles to do package and user
# configuration, before finishing up with custom configurations for
# the specific target host.
# After deployment the setup-host.yml playbook can be used to configure the guest
# as required.
#
#####################################################################
@ -40,25 +39,14 @@
cpu_num: "{{ hostvars[inventory_hostname].cpu }}"
mem_size: "{{ hostvars[inventory_hostname].mem }}"
root_size: "{{ hostvars[inventory_hostname].root }}"
host_type: "{{ hostvars[inventory_hostname].host_type }}"
pre_tasks:
- name:
debug:
msg: "lxd-deploy.yml playbook"
- debug: msg="lxd-deploy.yml playbook"
roles:
- role: lxc_deploy
- role: lxdhost
#####################################################################
# run the setup-host.yml playbook for host configuration
- hosts: all
gather_facts: true
user: root
- name: include the setup-host.yml playbook
import_playbook: setup-host.yml
# EOF