[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

Dear’s

I’m facing this problem, I gave up Bootstrap.sh, reported Clara was updated. Reinstall wsl2, ubuntu, docker-dekstop…
I migrated to Ansible. but I’m still having problems, I ask for guidance…
I am no expert in ansible, but I see that an excellent tool…

This procedure was performed, but to no avail:

  1. Link_techdirectarchive

  2. Link_stackexchange
    It’s hard to find answers. I’m trying everything.

frustrating result :(

If any expert can clarify to help me in this fight…

to be continued…
My configuration:

Best regards!

Hi, Nvidia…
‘>._.<’ help me

Hey @diyanderson
I have two suggestions:

  1. Try to change the hosts from all to localhost in clara.yml
  2. (If option 1 did not work) – Edit the hosts file clara_hosts and uncomment out the IP address 127.0.0.1 – rerun the Ansible command passing in the hosts file clara_hosts with the following command: ansible-playbook -K clara.yml -i clara_hosts
1 Like

Hi diyanderson,

Checking in to see if you were able to resolve this. Option 2 suggested by elacey is probably the best failsafe approach, but it requires that you set the local ssh keys as described in the docs here for installing clara locally:
https://ngc.nvidia.com/catalog/resources/nvidia:clara:clara_ansible

It also looks like there might be an issue with your clara_user definition. In clara.yml line 15 (and similarly in driver.yml), you need to set
clara_user: '<your username>' # add the name of the user on the machine
In your case, it looks like this should be:
clara_user: 'diyander'

Let us know if you were able to work through this. Good luck!

-Kris

1 Like

Hi, @kkersten and @elacey

Thanks! <"~.~">

Five steps were taken:

  1. Install the NGC Client for Windows and configure it.

  2. I generated my public key using “ssh-keygen”. I haven’t copied it anywhere yet…

  3. I set the Host field from “All” to “localhost” in clara.yml.

  4. I confirmed my username “diyander” in clara.yml

  5. I repeated the following command 3 times:

ansible-playbook -K clara.yml

obs: I noticed that the number of failures decreased with each command.
Here is my experience:

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password:
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [all] *************************************************************************************************************
skipping: no hosts matched

PLAY RECAP *************************************************************************************************************

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password:
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [Install Nvidia Docker] *******************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] ***********************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for localhost

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] **************************************
ok: [localhost]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] ******************************
changed: [localhost]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] ******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] *******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] **********************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] ***********************************************
changed: [localhost]

TASK [install-nvidia-docker : Add the user to Docker group] ************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for localhost

TASK [install-nvidia-docker : Add Repository Key] **********************************************************************
changed: [localhost]

TASK [install-nvidia-docker : Add Repository Source] *******************************************************************
changed: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
changed: [localhost]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] ***************************************
changed: [localhost]

TASK [install-nvidia-docker : Reload Docker Configuration] *************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Service is in unknown state", "status": {}}

PLAY RECAP *************************************************************************************************************
localhost                  : ok=11   changed=6    unreachable=0    failed=1    skipped=3    rescued=0    ignored=0

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password:
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [Install Nvidia Docker] *******************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] ***********************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for localhost

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] **************************************
ok: [localhost]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] ******************************
ok: [localhost]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] ******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] *******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] **********************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] ***********************************************
ok: [localhost]

TASK [install-nvidia-docker : Add the user to Docker group] ************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for localhost

TASK [install-nvidia-docker : Add Repository Key] **********************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Add Repository Source] *******************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] ***************************************
ok: [localhost]

TASK [install-nvidia-docker : Reload Docker Configuration] *************************************************************
skipping: [localhost]

TASK [Install Kubernetes Configured for Clara] *************************************************************************

TASK [install-kubernetes : Turn Swap Off] ******************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-kubernetes/tasks/swapoff.yml for localhost

TASK [install-kubernetes : Remove swapfile from /etc/fstab] ************************************************************
ok: [localhost] => (item=swap)
ok: [localhost] => (item=none)

TASK [install-kubernetes : check swap] *********************************************************************************
ok: [localhost]

TASK [install-kubernetes : Disable swap] *******************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "-a"], "delta": "0:00:00.002893", "end": "2021-10-11 20:54:39.171451", "msg": "non-zero return code", "rc": 255, "start": "2021-10-11 20:54:39.168558", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *************************************************************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password:
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [Install Nvidia Docker] *******************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] ***********************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for localhost

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] **************************************
ok: [localhost]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] ******************************
ok: [localhost]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] ******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] *******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] **********************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] ***********************************************
ok: [localhost]

TASK [install-nvidia-docker : Add the user to Docker group] ************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for localhost

TASK [install-nvidia-docker : Add Repository Key] **********************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Add Repository Source] *******************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] ***************************************
ok: [localhost]

TASK [install-nvidia-docker : Reload Docker Configuration] *************************************************************
skipping: [localhost]

TASK [Install Kubernetes Configured for Clara] *************************************************************************

TASK [install-kubernetes : Turn Swap Off] ******************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-kubernetes/tasks/swapoff.yml for localhost

TASK [install-kubernetes : Remove swapfile from /etc/fstab] ************************************************************
ok: [localhost] => (item=swap)
ok: [localhost] => (item=none)

TASK [install-kubernetes : check swap] *********************************************************************************
ok: [localhost]

TASK [install-kubernetes : Disable swap] *******************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "-a"], "delta": "0:00:00.002069", "end": "2021-10-11 20:55:34.305174", "msg": "non-zero return code", "rc": 255, "start": "2021-10-11 20:55:34.303105", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *************************************************************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0
diyander@Ander:~/ansible/playbooks$ ansible all -m ping
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

I’m almost there soon…fail = 0
Can you help me with Ansible, please
…"-_-" help-me Nvidiiiiaaa

# ssh: connect to host 127.0.0.1 port 22: Connection refused ..."-_-"
# 1. Reference: https://askubuntu.com/questions/739164/ssh-connection-refused 
sudo mkdir /var/run/sshd
sudo chmod 0755 /var/run/sshd
sudo service ssh start
# 2. Reference: https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server-pt
sudo cat ~/.ssh/id_rsa.pub | ssh diyander@127.0.0.1 "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
The authenticity of host 'localhost (127.0.0.1)' can't be established.
ECDSA key fingerprint is ------.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
diyander@Ander:~/ansible/playbooks$ ssh-copy-id -i ~/.ssh/id_rsa.pub diyander@Ander
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/diyander/.ssh/id_rsa.pub"
The authenticity of host 'ander (127.0.1.1)' can't be established.
ECDSA key fingerprint is ------.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
                (if you think this is a mistake, you may want to use -f option)
continued..
# 3. Reference:https://www.driftar.ch/2021/01/25/setting-up-windows-subsystem-for-linux-version-2-wsl-2/
sudo apt update &t sudo apt upgrade -y
# 4. Reference: https://ti.que.jp/p/2021/09/13/wsl2-ansible-docker/
Have been activated:
1.#Hyper-V platform or Windows Hypervisor
2.#Windows subsystem for Linux
3.#virtualization machine platform
4.#PowerSheel executed: wsl --shutdown
5.#I restarted wsl-2 when the desktop docker pop-up appeared

sudo apt update
sudo apt install software-properties-common
sudo apt install ansible

ansible --version

result, line elimined:👍

[WARNING]: No inventory was parsed, only implicit localhost is available
diyander@Ander:/mnt/c/Users/Ander$ cd ~/ansible/playbooks
diyander@Ander:~/ansible/playbooks$ sudo ansible-playbook -K clara.yml
[sudo] password for diyander:
BECOME password:
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [Install Nvidia Docker] *******************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] ***********************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for localhost

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] **************************************
ok: [localhost]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] ******************************
ok: [localhost]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] ******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] *******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] **********************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] ***********************************************
ok: [localhost]

TASK [install-nvidia-docker : Add the user to Docker group] ************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for localhost

TASK [install-nvidia-docker : Add Repository Key] **********************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Add Repository Source] *******************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *****************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] ***************************************
ok: [localhost]

TASK [install-nvidia-docker : Reload Docker Configuration] *************************************************************
skipping: [localhost]

TASK [Install Kubernetes Configured for Clara] *************************************************************************

TASK [install-kubernetes : Turn Swap Off] ******************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-kubernetes/tasks/swapoff.yml for localhost

TASK [install-kubernetes : Remove swapfile from /etc/fstab] ************************************************************
ok: [localhost] => (item=swap)
ok: [localhost] => (item=none)

TASK [install-kubernetes : check swap] *********************************************************************************
ok: [localhost]

TASK [install-kubernetes : Disable swap] *******************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "-a"], "delta": "0:00:00.003080", "end": "2021-10-12 20:25:57.385508", "msg": "non-zero return code", "rc": 255, "start": "2021-10-12 20:25:57.382428", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *************************************************************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0
diyander@Ander:~/ansible/playbooks$ ansible localhost -m ping
localhost | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

It’s not over yet, the fight continues…

My Configuration

Attached GPUs : 1
GPU 00000000:01:00.0
Product Name : NVIDIA GeForce RTX 2070 SUPER
Product Brand : GeForce
Windows 11 pro version 21H2 build 22000.194
WSL2 - Distributor ID: Ubuntu - Description: Ubuntu 20.04.3 LTS - Release: 20.04
Docker Desktop version 4.1.0
ansible [core 2.11.6]

@kkersten Thanks!!! The End…

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml -i clara_hosts
BECOME password:

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
fatal: [127.0.0.1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 127.0.0.1 port 22: Connection refused", "unreachable": true}

PLAY RECAP *************************************************************************************************************
127.0.0.1                  : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0

See the edition below:

#6. Reference: https://www.reddit.com/r/ansible/comments/eupcyf/running_awx_locally_with_uri_module/
diyander@Ander:~/ansible/playbooks$ code ..
########clara.yml#############
add:
- hosts: localhost  #127.0.0.1 #localhost #all
  connection: local #<----Solved!!!
#############################

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml -i clara_hosts

WARNINGS!!! continued….

diyander@Ander:~/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password: 
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [localhost] ***************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************
ok: [localhost]

TASK [Install Nvidia Docker] ***************************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] *******************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for localhost

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] **********************************************
ok: [localhost]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] **************************************
ok: [localhost]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] **************************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] ***************************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] ******************************************************
skipping: [localhost]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] *******************************************************
ok: [localhost]

TASK [install-nvidia-docker : Add the user to Docker group] ********************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for localhost

TASK [install-nvidia-docker : Add Repository Key] ******************************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Add Repository Source] ***************************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *************************************************************************
ok: [localhost]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] ***********************************************
ok: [localhost]

TASK [install-nvidia-docker : Reload Docker Configuration] *********************************************************************
skipping: [localhost]

TASK [Install Kubernetes Configured for Clara] *********************************************************************************

TASK [install-kubernetes : Turn Swap Off] **************************************************************************************
included: /home/diyander/ansible/playbooks/roles/install-kubernetes/tasks/swapoff.yml for localhost

TASK [install-kubernetes : Remove swapfile from /etc/fstab] ********************************************************************
ok: [localhost] => (item=swap)
ok: [localhost] => (item=none)

TASK [install-kubernetes : check swap] *****************************************************************************************
ok: [localhost]

TASK [install-kubernetes : Disable swap] ***************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "-a"], "delta": "0:00:00.002030", "end": "2021-10-13 00:45:11.014580", "msg": "non-zero return code", "rc": 255, "start": "2021-10-13 00:45:11.012550", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0

what should i do Nvidia?.."<._.>"

Best Regards!
-diyanderson

SOLVED!

diyander@Ander:/etc/ansible$ ls
ansible.cfg  hosts  inventory
diyander@Ander:/etc/ansible$ nano inventory
#I created an inventory
[localhost]
127.0.0.1

SOLVED!!!

diyander@Ander:~/bin/ansible/playbooks$ ansible-playbook -K clara.yml
BECOME password: 

PLAY [localhost] *********************************************************************************************************************************

TASK [Gathering Facts] ***************************************************************************************************************************
ok: [127.0.0.1]

TASK [Install Nvidia Docker] *********************************************************************************************************************

TASK [install-nvidia-docker : Install Docker CE] *************************************************************************************************
included: /home/diyander/bin/ansible/playbooks/roles/install-nvidia-docker/tasks/install-docker-ce.yml for 127.0.0.1

TASK [install-nvidia-docker : Add package ca-certificates before adding GPG keys] ****************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Add apt package apt-transport-https before adding GPG keys] ********************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Add Docker CE GPG Apt Key (Ubuntu)] ********************************************************************************
skipping: [127.0.0.1]

TASK [install-nvidia-docker : Add Docker CE Repository (Bionic)] *********************************************************************************
skipping: [127.0.0.1]

TASK [install-nvidia-docker : Update apt and Install Docker CE on Bionic] ************************************************************************
skipping: [127.0.0.1]

TASK [install-nvidia-docker : Update apt and Install Docker.io on Focal] *************************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Add the user to Docker group] **************************************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *******************************************************************************************
included: /home/diyander/bin/ansible/playbooks/roles/install-nvidia-docker/tasks/install-nvidia-docker.yml for 127.0.0.1

TASK [install-nvidia-docker : Add Repository Key] ************************************************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Add Repository Source] *********************************************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Install Nvidia Docker 2] *******************************************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Update daemon.json with NVIDIA as Default Runtime] *****************************************************************
ok: [127.0.0.1]

TASK [install-nvidia-docker : Reload Docker Configuration] ***************************************************************************************
skipping: [127.0.0.1]

TASK [Install Kubernetes Configured for Clara] ***************************************************************************************************

TASK [install-kubernetes : Turn Swap Off] ********************************************************************************************************
included: /home/diyander/bin/ansible/playbooks/roles/install-kubernetes/tasks/swapoff.yml for 127.0.0.1

TASK [install-kubernetes : Remove swapfile from /etc/fstab] **************************************************************************************
ok: [127.0.0.1] => (item=swap)
ok: [127.0.0.1] => (item=none)

TASK [install-kubernetes : check swap] ***********************************************************************************************************
ok: [127.0.0.1]

TASK [install-kubernetes : Disable swap] *********************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "-a"], "delta": "0:00:00.003123", "end": "2021-10-14 00:25:40.729705", "msg": "non-zero return code", "rc": 255, "start": "2021-10-14 00:25:40.726582", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP ***************************************************************************************************************************************
127.0.0.1                  : ok=14   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0   

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.