added next folders for migration
This commit is contained in:
31
playbooks/pi_install_homeassistant.yml
Normal file
31
playbooks/pi_install_homeassistant.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
- name: Install the homeassistant docker with additional features as choosen
|
||||
hosts: new_hosts
|
||||
gather_facts: True
|
||||
|
||||
tasks:
|
||||
- name: call the homeassistant stop role
|
||||
ansible.builtin.include_role:
|
||||
name: install_homeassistant_docker
|
||||
tasks_from: stop_docker_container.yml
|
||||
|
||||
- name: call the install docker role
|
||||
ansible.builtin.include_role:
|
||||
name: install_homeassistant_docker
|
||||
tasks_from: create_folder_structure.yml
|
||||
|
||||
- name: install homeassistant docker with grafana
|
||||
ansible.builtin.include_role:
|
||||
name: install_homeassistant_docker
|
||||
tasks_from: copy_files_ha-grafana.yml
|
||||
when: "{{ grafana }}"
|
||||
|
||||
- name: install homeassistant docker (HA + PostgresDB)
|
||||
ansible.builtin.include_role:
|
||||
name: install homeassistant docker only
|
||||
tasks_from: copy_files_ha-only.yml
|
||||
when: "{{ ha-only }}"
|
||||
|
||||
- name: call the homeassistant start role
|
||||
ansible.builtin.include_role:
|
||||
name: install_homeassistant_docker
|
||||
tasks_from: start_docker_container.yml
|
||||
Reference in New Issue
Block a user