From be85c9ccc53d69aaf3607e57db03d5c611bccd66 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 25 Feb 2020 12:39:34 -0500 Subject: [PATCH] state uninstalled --- README.md | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0250c97..85956a4 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ consistency. | Variable | Description | Default Value | |----------------------------------|-------------------------------------------------------------------------------------|-----------------------------------------| -| `k3s_cluster_state` | State of cluster: installed, started, stopped, restarted, downloaded, uninstall. | installed | +| `k3s_cluster_state` | State of cluster: installed, started, stopped, restarted, downloaded, uninstalled. | installed | | `k3s_release_version` | Use a specific version of k3s, eg. `v0.2.0`. Specify `false` for latest. | `false` | | `k3s_github_url` | Set the GitHub URL to install k3s from. | https://github.com/rancher/k3s | | `k3s_install_dir` | Installation directory for k3s. | `/usr/local/bin` | diff --git a/tasks/main.yml b/tasks/main.yml index be4d8b2..e5d6678 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,7 +3,7 @@ - name: Check to see if k3s_cluster_state is a supported value assert: that: - - k3s_cluster_state in ['installed', 'started', 'stopped', 'restarted', 'downloaded', 'uninstall'] + - k3s_cluster_state in ['installed', 'started', 'stopped', 'restarted', 'downloaded', 'uninstalled'] fail_msg: "k3s_cluster_state not valid. Check README.md for details." success_msg: "k3s_cluster_state is valid." when: k3s_cluster_state is defined