You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this collection and it is working very well, thanks.
I am calling your collection from my own playbook with this:
- name: Import the k3s playbook with flannel
ansible.builtin.import_playbook: "/Users/xxxxx/.ansible/collections/ansible_collections/techno_tim/k3s_ansible/site.yml"
vars:
k3s_version: "{{ hostvars['localhost']['k3s_version'] }}"
k3s_token: "{{ hostvars['localhost']['k3s_token'] }}"
apiserver_endpoint: "{{ hostvars['localhost']['apiserver_endpoint'] }}"
k3s_master_taint: "{{ hostvars['localhost']['k3s_master_taint'] }}"
kube_vip_lb_ip_range: "{{ hostvars['localhost']['kube_vip_lb_ip_range'] }}"
k3s_cni: "{{ hostvars['localhost']['k3s_cni'] }}"
install_k3s: "{{ hostvars['localhost']['install_k3s'] }}"
flannel_iface: "{{ hostvars['localhost']['k8s_interface'] }}"
extra_args: "--disable local-storage"
when:
- install_k3s | default (false) | bool
- k3s_cni == "flannel"```
and all is working, except the extra_args. Can you tell me how I should have the extra argument stated?
It is failing like this and when I remove the complete extra_args line all is working again.
I have also tried
extra_args: >-
"--disable local-storage"
and
extra_args: >-
--disable local-storage
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I am using this collection and it is working very well, thanks.
I am calling your collection from my own playbook with this:
I have also tried
and
Thanks!
The text was updated successfully, but these errors were encountered: