• Failed to set up SSH tunneling for host [ambake2-centos]: Can't retrieve Docker Info: error during connect: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info\": Unable to access node with address [ambake2-centos:22] using SSH. Please check if you are able to SSH to the node using the specified SSH Private Key and if you have configured the correct SSH username.

  • TASK [rke : RKE pre-install] ***************************************************
    included: /home/abaker/.devbox/ansible/roles/rke/tasks/rke-pre-install.yml for localhost
    
    TASK [rke : Root PersistentVolume directory] ***********************************
    changed: [localhost] => (item=/data)
    
    TASK [rke : RKE install] *******************************************************
    included: /home/abaker/.devbox/ansible/roles/rke/tasks/rke-install.yml for localhost
    
    TASK [rke : Download RKE binary] ***********************************************
    changed: [localhost]
    
    TASK [rke : Ensure config directory exists] ************************************
    changed: [localhost]
    
    TASK [rke : Create/update RKE config file] *************************************
    changed: [localhost]
    
    TASK [rke : Run RKE installer] *************************************************
    fatal: [localhost]: FAILED! => {"changed": true, "cmd": "set -eo pipefail\nrke up --ssh-agent-auth | tee /home/abaker/rke/rke-up.log\n", "delta": "0:00:05.923339", "end": "2021-09-15 22:19:14.657055", "msg": "non-zero return code", "rc": 1, "start": "2021-09-15 22:19:08.733716", "stderr": "", "stderr_lines": [], "stdout": "time=\"2021-09-15T22:19:08-04:00\" level=info msg=\"Running RKE version: v1.2.8\"\ntime=\"2021-09-15T22:19:08-04:00\" level=info msg=\"Initiating Kubernetes cluster\"\ntime=\"2021-09-15T22:19:08-04:00\" level=info msg=\"[dialer] Setup tunnel for host [ambake2-centos]\"\ntime=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"Failed to set up SSH tunneling for host [ambake2-centos]: Can't retrieve Docker Info: error during connect: Get \\\"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info\\\": Unable to access node with address [ambake2-centos:22] using SSH. Please check if you are able to SSH to the node using the specified SSH Private Key and if you have configured the correct SSH username. Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\"\ntime=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"Removing host [ambake2-centos] from node lists\"\ntime=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"[state] can't fetch legacy cluster state from Kubernetes: Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s) [ambake2-centos]\"\ntime=\"2021-09-15T22:19:08-04:00\" level=info msg=\"[certificates] Generating CA kubernetes certificates\"\ntime=\"2021-09-15T22:19:09-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server aggregation layer requestheader client CA certificates\"\ntime=\"2021-09-15T22:19:10-04:00\" level=info msg=\"[certificates] GenerateServingCertificate is disabled, checking if there are unused kubelet certificates\"\ntime=\"2021-09-15T22:19:10-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server certificates\"\ntime=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Service account token key\"\ntime=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Kube Controller certificates\"\ntime=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Kube Scheduler certificates\"\ntime=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating Kube Proxy certificates\"\ntime=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating Node certificate\"\ntime=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating admin certificates and kubeconfig\"\ntime=\"2021-09-15T22:19:13-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server proxy client certificates\"\ntime=\"2021-09-15T22:19:14-04:00\" level=info msg=\"Successfully Deployed state file at [./cluster.rkestate]\"\ntime=\"2021-09-15T22:19:14-04:00\" level=info msg=\"Building Kubernetes cluster\"\ntime=\"2021-09-15T22:19:14-04:00\" level=fatal msg=\"Cluster must have at least one etcd plane host: please specify one or more etcd in cluster config\"", "stdout_lines": ["time=\"2021-09-15T22:19:08-04:00\" level=info msg=\"Running RKE version: v1.2.8\"", "time=\"2021-09-15T22:19:08-04:00\" level=info msg=\"Initiating Kubernetes cluster\"", "time=\"2021-09-15T22:19:08-04:00\" level=info msg=\"[dialer] Setup tunnel for host [ambake2-centos]\"", "time=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"Failed to set up SSH tunneling for host [ambake2-centos]: Can't retrieve Docker Info: error during connect: Get \\\"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info\\\": Unable to access node with address [ambake2-centos:22] using SSH. Please check if you are able to SSH to the node using the specified SSH Private Key and if you have configured the correct SSH username. Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\"", "time=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"Removing host [ambake2-centos] from node lists\"", "time=\"2021-09-15T22:19:08-04:00\" level=warning msg=\"[state] can't fetch legacy cluster state from Kubernetes: Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s) [ambake2-centos]\"", "time=\"2021-09-15T22:19:08-04:00\" level=info msg=\"[certificates] Generating CA kubernetes certificates\"", "time=\"2021-09-15T22:19:09-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server aggregation layer requestheader client CA certificates\"", "time=\"2021-09-15T22:19:10-04:00\" level=info msg=\"[certificates] GenerateServingCertificate is disabled, checking if there are unused kubelet certificates\"", "time=\"2021-09-15T22:19:10-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server certificates\"", "time=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Service account token key\"", "time=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Kube Controller certificates\"", "time=\"2021-09-15T22:19:11-04:00\" level=info msg=\"[certificates] Generating Kube Scheduler certificates\"", "time=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating Kube Proxy certificates\"", "time=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating Node certificate\"", "time=\"2021-09-15T22:19:12-04:00\" level=info msg=\"[certificates] Generating admin certificates and kubeconfig\"", "time=\"2021-09-15T22:19:13-04:00\" level=info msg=\"[certificates] Generating Kubernetes API server proxy client certificates\"", "time=\"2021-09-15T22:19:14-04:00\" level=info msg=\"Successfully Deployed state file at [./cluster.rkestate]\"", "time=\"2021-09-15T22:19:14-04:00\" level=info msg=\"Building Kubernetes cluster\"", "time=\"2021-09-15T22:19:14-04:00\" level=fatal msg=\"Cluster must have at least one etcd plane host: please specify one or more etcd in cluster config\""]}
    
  • Output after executing ssh ambake2-centos

    [abaker@ambake2-centos deltafi]$ !20 git archive --remote=git@gitlab.com:systolic/deltafi/devbox HEAD install.sh | tar -x --to-stdout | sh Already up to date. Install ansible galaxy collections... [WARNING]: - ctorgalson.nerdfonts (v1.0.1) is already installed - use --force to change version to unspecified [WARNING]: - gantsign.helm (2.7.1) is already installed - use --force to change version to unspecified [WARNING]: - gantsign.maven (5.6.1) is already installed - use --force to change version to unspecified [WARNING]: - gantsign.minikube (1.27.0) is already installed - use --force to change version to unspecified [WARNING]: - gantsign.java (9.2.2) is already installed - use --force to change version to unspecified [WARNING]: - geerlingguy.docker (4.1.0) is already installed - use --force to change version to unspecified [WARNING]: - geerlingguy.repo-epel (3.1.0) is already installed - use --force to change version to unspecified [WARNING]: - ngetchell.vscode (v1.0.3) is already installed - use --force to change version to unspecified [WARNING]: - robertdebock.kubectl (2.1.0) is already installed - use --force to change version to unspecified [WARNING]: - shelleg.gradle (v1.1.3) is already installed - use --force to change version to unspecified [WARNING]: - willshersystems.sshd (v0.14.0) is already installed - use --force to change version to unspecified Process install dependency map Starting collection install process Skipping 'kubernetes.core' as it is already installed Dev box playbook...

    PLAY [devbox] ******************************************************************

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

    TASK [default-packages : Install default packages] ***************************** ok: [localhost]

    TASK [manage-etc-hosts : Manage /etc/hosts] ************************************ changed: [localhost]

    TASK [manage-ssh-config : Manage ssh client configuration] ********************* ok: [localhost]

    TASK [manage-sudo : Manage sudo] *********************************************** ok: [localhost]

    TASK [tmux-source : Check for tmux installation] ******************************* ok: [localhost]

    TASK [tmux-source : Clone tmux source] ***************************************** skipping: [localhost]

    TASK [tmux-source : Build tmux] ************************************************ skipping: [localhost] => (item=./autogen.sh) skipping: [localhost] => (item=./configure) skipping: [localhost] => (item=make clean) skipping: [localhost] => (item=make all)

    TASK [tmux-source : Install tmux] ********************************************** skipping: [localhost] => (item=make uninstall) skipping: [localhost] => (item=make install)

    TASK [tmux-source : Cleaning up] *********************************************** skipping: [localhost]

    TASK [shelleg.gradle : Check gradle version is present] ************************ ok: [localhost]

    TASK [shelleg.gradle : Check gradle version is present] ************************ ok: [localhost]

    TASK [shelleg.gradle : Install unzip] ****************************************** skipping: [localhost]

    TASK [shelleg.gradle : Download] *********************************************** skipping: [localhost]

    TASK [shelleg.gradle : Extract Gradle 6.8.3] *********************************** skipping: [localhost]

    TASK [shelleg.gradle : Add gradle symlink to path] ***************************** skipping: [localhost]

    TASK [shelleg.gradle : Validate Gradle version] ******************************** skipping: [localhost]

    TASK [shelleg.gradle : fail] *************************************************** skipping: [localhost]

    TASK [shelleg.gradle : Validate Gradle version] ******************************** ok: [localhost]

    TASK [shelleg.gradle : debug] ************************************************** ok: [localhost] => { "msg": "Gradle 6.8.3 is installed" }

    TASK [gantsign.helm : create download directory] ******************************* ok: [localhost]

    TASK [gantsign.helm : download sha256sum] ************************************** ok: [localhost]

    TASK [gantsign.helm : read sha256sum] ****************************************** ok: [localhost]

    TASK [gantsign.helm : download Helm] ******************************************* ok: [localhost]

    TASK [gantsign.helm : check current version] *********************************** ok: [localhost]

    TASK [gantsign.helm : current version] ***************************************** ok: [localhost] => { "msg": "v3.6.3" }

    TASK [gantsign.helm : remove existing installation] **************************** skipping: [localhost]

    TASK [gantsign.helm : create the Helm installation dir] ************************ ok: [localhost]

    TASK [gantsign.helm : install unarchive module dependencies (apt, yum, dnf, zypper)] *** ok: [localhost]

    TASK [gantsign.helm : install Helm] ******************************************** skipping: [localhost]

    TASK [gantsign.helm : create helm link] **************************************** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Set fonts directory fact.] ************************ ok: [localhost]

    TASK [ctorgalson.nerdfonts : Ensure fonts directory exists.] ******************* ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download individual fonts to fonts directory.] **** included: /home/abaker/.ansible/roles/ctorgalson.nerdfonts/tasks/download_single_font.yml for localhost included: /home/abaker/.ansible/roles/ctorgalson.nerdfonts/tasks/download_single_font.yml for localhost included: /home/abaker/.ansible/roles/ctorgalson.nerdfonts/tasks/download_single_font.yml for localhost included: /home/abaker/.ansible/roles/ctorgalson.nerdfonts/tasks/download_single_font.yml for localhost included: /home/abaker/.ansible/roles/ctorgalson.nerdfonts/tasks/download_single_font.yml for localhost

    TASK [ctorgalson.nerdfonts : Determine directory name for font family.] ******** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Create directory for AnonymousPro fonts.] ********* ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download Anonymice Nerd Font Complete Mono.ttf.] *** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Determine directory name for font family.] ******** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Create directory for DejaVuSansMono fonts.] ******* ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download DejaVu Sans Mono Nerd Font Complete Mono.ttf.] *** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Determine directory name for font family.] ******** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Create directory for Hack fonts.] ***************** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download Hack Regular Nerd Font Complete Mono.ttf.] *** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Determine directory name for font family.] ******** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Create directory for Meslo fonts.] **************** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download Meslo LG S Regular Nerd Font Complete Mono.ttf.] *** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Determine directory name for font family.] ******** ok: [localhost]

    TASK [ctorgalson.nerdfonts : Create directory for Mononoki fonts.] ************* ok: [localhost]

    TASK [ctorgalson.nerdfonts : Download mononoki-Regular Nerd Font Complete Mono.ttf.] *** ok: [localhost]

    TASK [robertdebock.kubectl : install kubectl] ********************************** ok: [localhost]

    TASK [python-pip : Install Python 3 packages] ********************************** ok: [localhost]

    TASK [better-bash : Add better hook to bashrc] ********************************* ok: [localhost]

    TASK [Go get kubecolor] ******************************************************** ok: [localhost]

    TASK [gantsign.maven : load version vars] ************************************** ok: [localhost] => (item=/home/abaker/.ansible/roles/gantsign.maven/vars/../vars/versions/3.8.2.yml)

    TASK [gantsign.maven : assert version vars] ************************************ ok: [localhost] => { "changed": false, "msg": "All assertions passed" }

    TASK [gantsign.maven : install which (yum, dnf, zypper)] *********************** ok: [localhost]

    TASK [gantsign.maven : create download directory] ****************************** ok: [localhost]

    TASK [gantsign.maven : download Maven] ***************************************** ok: [localhost]

    TASK [gantsign.maven : create Maven installation directory] ******************** ok: [localhost]

    TASK [gantsign.maven : install unarchive module dependencies (dnf, zypper)] **** ok: [localhost]

    TASK [gantsign.maven : install Maven] ****************************************** skipping: [localhost]

    TASK [gantsign.maven : create symbolic links] ********************************** included: /home/abaker/.ansible/roles/gantsign.maven/tasks/create-symbolic-links.yml for localhost

    TASK [gantsign.maven : install mvn link] *************************************** ok: [localhost]

    TASK [gantsign.maven : install mvnDebug link] ********************************** ok: [localhost]

    TASK [gantsign.maven : create Ansible facts.d directory] *********************** ok: [localhost]

    TASK [gantsign.maven : install Maven facts] ************************************ ok: [localhost]

    TASK [gantsign.maven : re-read facts] ****************************************** ok: [localhost]

    TASK [docker : include_tasks] ************************************************** skipping: [localhost]

    TASK [docker : include_tasks] ************************************************** included: /home/abaker/.devbox/ansible/roles/docker/tasks/centos-docker.yml for localhost

    TASK [docker : Debug] ********************************************************** ok: [localhost] => { "msg": "Docker for CentOS" }

    TASK [docker : Remove conflicting packages] ************************************ ok: [localhost] => (item=podman) ok: [localhost] => (item=buildah) ok: [localhost] => (item=firewalld)

    TASK [geerlingguy.docker : include_tasks] ************************************** included: /home/abaker/.ansible/roles/geerlingguy.docker/tasks/setup-RedHat.yml for localhost

    TASK [geerlingguy.docker : Ensure old versions of Docker are not installed.] *** ok: [localhost]

    TASK [geerlingguy.docker : Add Docker GPG key.] ******************************** ok: [localhost]

    TASK [geerlingguy.docker : Add Docker repository.] ***************************** ok: [localhost]

    TASK [geerlingguy.docker : Configure Docker Nightly repo.] ********************* ok: [localhost]

    TASK [geerlingguy.docker : Configure Docker Test repo.] ************************ ok: [localhost]

    TASK [geerlingguy.docker : Ensure container-selinux is installed.] ************* ok: [localhost]

    TASK [geerlingguy.docker : Ensure containerd.io is installed.] ***************** ok: [localhost]

    TASK [geerlingguy.docker : include_tasks] ************************************** skipping: [localhost]

    TASK [geerlingguy.docker : Install Docker.] ************************************ ok: [localhost]

    TASK [geerlingguy.docker : Ensure /etc/docker/ directory exists.] ************** skipping: [localhost]

    TASK [geerlingguy.docker : Configure Docker daemon options.] ******************* skipping: [localhost]

    TASK [geerlingguy.docker : Ensure Docker is started and enabled at boot.] ****** ok: [localhost]

    TASK [geerlingguy.docker : include_tasks] ************************************** included: /home/abaker/.ansible/roles/geerlingguy.docker/tasks/docker-compose.yml for localhost

    TASK [geerlingguy.docker : Check current docker-compose version.] ************** ok: [localhost]

    TASK [geerlingguy.docker : Delete existing docker-compose version if it's different.] *** skipping: [localhost]

    TASK [geerlingguy.docker : Install Docker Compose (if configured).] ************ skipping: [localhost]

    TASK [geerlingguy.docker : include_tasks] ************************************** included: /home/abaker/.ansible/roles/geerlingguy.docker/tasks/docker-users.yml for localhost

    TASK [geerlingguy.docker : Ensure docker users are added to the docker group.] *** ok: [localhost] => (item=abaker)

    TASK [Relax permissions on docker volumes] ************************************* ok: [localhost] => (item=/var/lib/docker) ok: [localhost] => (item=/var/lib/docker/volumes)

    TASK [fasd-source : [fasd] Check installed version] **************************** ok: [localhost]

    TASK [fasd-source : [fasd] Create temporary build directory] ******************* skipping: [localhost]

    TASK [fasd-source : [fasd] Download source] ************************************ skipping: [localhost]

    TASK [fasd-source : [fasd] Install] ******************************************** skipping: [localhost] => (item=make install)

    TASK [fasd-source : [fasd] Cleaning up] **************************************** skipping: [localhost]

    TASK [rke : RKE pre-install] *************************************************** included: /home/abaker/.devbox/ansible/roles/rke/tasks/rke-pre-install.yml for localhost

    TASK [rke : Root PersistentVolume directory] *********************************** ok: [localhost] => (item=/data)

    TASK [rke : RKE install] ******************************************************* included: /home/abaker/.devbox/ansible/roles/rke/tasks/rke-install.yml for localhost

    TASK [rke : Download RKE binary] *********************************************** ok: [localhost]

    TASK [rke : Ensure config directory exists] ************************************ ok: [localhost]

    TASK [rke : Create/update RKE config file] ************************************* ok: [localhost]

    TASK [rke : Run RKE installer] ************************************************* skipping: [localhost]

    TASK [rke : Fetch kubeconfig] ************************************************** fatal: [localhost]: FAILED! => {"changed": false, "msg": "file not found: /home/abaker/rke/kube_config_cluster.yml"}

    NO MORE HOSTS LEFT *************************************************************

    PLAY RECAP ********************************************************************* localhost : ok=83 changed=1 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0

    Path exists /home/abaker/bin Path exists /home/abaker/.vim Path exists /home/abaker/.tmux Path exists /home/abaker/.tmux/plugins Path exists /home/abaker/.bashrc.better.d All paths have been set up All targets have been cleaned Installing submodules [git submodule sync && git submodule update --init --recursive] All commands have been executed Link exists ~/.dircolors -> /home/abaker/.devbox/dotfiles/dircolors Skipping ~/.dotfiles Link exists ~/.gitconfig -> /home/abaker/.devbox/dotfiles/gitconfig Link exists ~/.tigrc -> /home/abaker/.devbox/dotfiles/tigrc Link exists ~/.tmux.conf -> /home/abaker/.devbox/dotfiles/tmux.conf Link exists ~/.tmux.theme.conf -> /home/abaker/.devbox/dotfiles/tmux.theme.conf Link exists ~/.tmux/plugins/tpm -> /home/abaker/.devbox/dotfiles/external/tpm Link exists ~/.vimrc.bundles -> /home/abaker/.devbox/dotfiles/vimrc.bundles Link exists ~/.vimrc -> /home/abaker/.devbox/dotfiles/vimrc Link exists ~/.bask -> /home/abaker/.devbox/dotfiles/external/bask Link exists ~/.bash-git-prompt -> /home/abaker/.devbox/dotfiles/external/bash-git-prompt Link exists ~/.bashrc.better -> /home/abaker/.devbox/dotfiles/bashrc.better Globs from 'bin/': ['bin/git-ctags', 'bin/tmuximum', 'bin/devbox', 'bin/tat', 'bin/git-rebranch', 'bin/kubershell', 'bin/git-graph', 'bin/kwatch', 'bin/tmuxenv', 'bin/kw'] Link exists ~/bin/git-ctags -> /home/abaker/.devbox/dotfiles/bin/git-ctags Link exists ~/bin/tmuximum -> /home/abaker/.devbox/dotfiles/bin/tmuximum Link exists ~/bin/devbox -> /home/abaker/.devbox/dotfiles/bin/devbox Link exists ~/bin/tat -> /home/abaker/.devbox/dotfiles/bin/tat Link exists ~/bin/git-rebranch -> /home/abaker/.devbox/dotfiles/bin/git-rebranch Link exists ~/bin/kubershell -> /home/abaker/.devbox/dotfiles/bin/kubershell Link exists ~/bin/git-graph -> /home/abaker/.devbox/dotfiles/bin/git-graph Link exists ~/bin/kwatch -> /home/abaker/.devbox/dotfiles/bin/kwatch Link exists ~/bin/tmuxenv -> /home/abaker/.devbox/dotfiles/bin/tmuxenv Link exists ~/bin/kw -> /home/abaker/.devbox/dotfiles/bin/kw Link exists ~/bin/icdiff -> /home/abaker/.devbox/dotfiles/external/icdiff/icdiff Link exists ~/bin/git-icdiff -> /home/abaker/.devbox/dotfiles/external/icdiff/git-icdiff Link exists ~/bin/fpp -> /home/abaker/.devbox/dotfiles/external/PathPicker/fpp Link exists ~/bin/kubectx -> /home/abaker/.devbox/dotfiles/external/kubectx/kubectx Link exists ~/bin/kubens -> /home/abaker/.devbox/dotfiles/external/kubectx/kubens Globs from 'bashrc.better.d/': ['bashrc.better.d/bask.bash', 'bashrc.better.d/alias.bash', 'bashrc.better.d/shell.bash', 'bashrc.better.d/prompt.bash', 'bashrc.better.d/kubernetes.bash'] Link exists ~/.bashrc.better.d/bask.bash -> /home/abaker/.devbox/dotfiles/bashrc.better.d/bask.bash Link exists ~/.bashrc.better.d/alias.bash -> /home/abaker/.devbox/dotfiles/bashrc.better.d/alias.bash Link exists ~/.bashrc.better.d/shell.bash -> /home/abaker/.devbox/dotfiles/bashrc.better.d/shell.bash Link exists ~/.bashrc.better.d/prompt.bash -> /home/abaker/.devbox/dotfiles/bashrc.better.d/prompt.bash Link exists ~/.bashrc.better.d/kubernetes.bash -> /home/abaker/.devbox/dotfiles/bashrc.better.d/kubernetes.bash Link exists ~/.git-prompt-colors.sh -> /home/abaker/.devbox/dotfiles/git-prompt-colors.sh Link exists ~/.fzf -> /home/abaker/.devbox/dotfiles/external/fzf Skipping ~/Brewfile All links have been set up Installing vim plugin manager [curl -fLo /.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim] Installing fzf [/.fzf/install] Installing packages All commands have been executed

    ==> All tasks executed successfully

  • rke-install.yml

    [abaker@ambake2-centos tasks]$ more rke-install.yml

    • name: Download RKE binary become: yes get_url: url: "{{ rke_binary_url }}" checksum: "{{ rke_binary_checksum }}" dest: /usr/local/bin/rke mode: "+x" register: rke_binary

    • name: Ensure config directory exists file: path: "{{ rke_config_dir }}" state: directory

    • name: Create/update RKE config file template: src: rke_cluster.yml dest: "{{ rke_config_dir }}/cluster.yml" mode: u=rw,g=r,o= register: rke_cluster_config

    • name: Run RKE installer shell: | set -eo pipefail rke up --ssh-agent-auth | tee {{ rke_config_dir }}/rke-up.log args: chdir: "{{ rke_config_dir }}" when: rke_binary is changed or rke_cluster_config is changed or rke_force_configure

    • name: Fetch kubeconfig run_once: yes fetch: src: "{{ rke_config_dir }}/kube_config_cluster.yml" dest: /tmp/ flat: yes

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment