diff --git a/playbooks/00_check_for_reboot.yml b/playbooks/00_check_for_reboot.yml index be98e81..4fd1d42 100644 --- a/playbooks/00_check_for_reboot.yml +++ b/playbooks/00_check_for_reboot.yml @@ -1,6 +1,7 @@ - hosts: odroid_cluster name: Check for reboot become: true + gather_facts: no tasks: - name: Check if file exists using stat module stat: diff --git a/playbooks/00_initial_adjustments.yml b/playbooks/00_initial_adjustments.yml index 5272943..742dcaa 100644 --- a/playbooks/00_initial_adjustments.yml +++ b/playbooks/00_initial_adjustments.yml @@ -1,7 +1,7 @@ - hosts: odroid_cluster name: Initial Adjustments become: true - gather_facts: true + gather_facts: no vars: iface: "eth0" tasks: diff --git a/playbooks/00_install_ldap_client.yml b/playbooks/00_install_ldap_client.yml index ad2632d..4f3035d 100644 --- a/playbooks/00_install_ldap_client.yml +++ b/playbooks/00_install_ldap_client.yml @@ -1,6 +1,7 @@ - hosts: odroid_cluster name: Install omv become: true + gather_facts: no tasks: - name: Install ldap packages ansible.builtin.apt: diff --git a/playbooks/00_setup_display.yml b/playbooks/00_setup_display.yml index a087d7a..a980553 100644 --- a/playbooks/00_setup_display.yml +++ b/playbooks/00_setup_display.yml @@ -1,6 +1,7 @@ - hosts: odroid_master name: Setup info display become: true + gather_facts: no tasks: - name: Install deps... ansible.builtin.apt: diff --git a/playbooks/05_install_docker.yml b/playbooks/05_install_docker.yml index cf3f12f..044c2b0 100644 --- a/playbooks/05_install_docker.yml +++ b/playbooks/05_install_docker.yml @@ -2,6 +2,7 @@ name: Install docker become: true become_user: root + gather_facts: no tasks: - name: Install docker ansible.builtin.apt: diff --git a/playbooks/10_install_apparmor.yml b/playbooks/10_install_apparmor.yml index e48be74..c65147e 100644 --- a/playbooks/10_install_apparmor.yml +++ b/playbooks/10_install_apparmor.yml @@ -1,6 +1,7 @@ - hosts: odroid_cluster name: Install apparmor become: true + gather_facts: no tasks: - name: Install apparmor ansible.builtin.apt: diff --git a/playbooks/70_install_k3s.yml b/playbooks/70_install_k3s.yml index 1631e5a..de3d857 100644 --- a/playbooks/70_install_k3s.yml +++ b/playbooks/70_install_k3s.yml @@ -1,6 +1,7 @@ - hosts: odroid_master name: Install k3s become: true + gather_facts: no tasks: - name: Install K3S ansible.builtin.shell: 'curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_VERSION="v1.24.1+k3s1" sh -s -' diff --git a/playbooks/72_install_k3s_worker.yml b/playbooks/72_install_k3s_worker.yml index 39eb9d6..a0f23a6 100644 --- a/playbooks/72_install_k3s_worker.yml +++ b/playbooks/72_install_k3s_worker.yml @@ -1,6 +1,7 @@ - hosts: odroid_worker name: Setup k3s workers become: true + gather_facts: no vars: K3S_TOKEN_HOLDER: "{{ hostvars['K3S_TOKEN_HOLDER']['token'] }}" # K3S_TOKEN_HOLDER: "K10e86c2dee93cc36d405fbeb34ef64e8867c097493ef2e0f2e95feb5bb30ded39b::server:5f3d5033ee0554caab810c863b0587d2" diff --git a/playbooks/80_change_logo.yml b/playbooks/80_change_logo.yml index 823cb6c..2441974 100644 --- a/playbooks/80_change_logo.yml +++ b/playbooks/80_change_logo.yml @@ -1,6 +1,7 @@ - hosts: odroid_cluster name: Run script become: true + gather_facts: no gather_facts: true tasks: - name: Reconfigure logo diff --git a/playbooks/99_complete_install.yml b/playbooks/99_complete_install.yml index 58b6186..0852089 100644 --- a/playbooks/99_complete_install.yml +++ b/playbooks/99_complete_install.yml @@ -1,4 +1,7 @@ --- +- name: Install dependency localy + import_playbook: 00_local.yml + - name: Change creds import_playbook: 00_tst.yml when: