Created
August 27, 2019 07:31
-
-
Save patsevanton/8b1de36bc204cb5d99bd6a1ee37d9ce9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook -i inventory/mycluster/hosts.yml -e 'ansible_ssh_user=vagrant' -k --become --become-user=root cluster.yml | |
SSH password: | |
[WARNING]: Unable to parse /root/kubespray/inventory/mycluster/hosts.yml as an inventory source | |
[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 [Check ansible version >=2.7.8] *********************************************************************************************************** | |
Tuesday 27 August 2019 07:26:29 +0000 (0:00:00.105) 0:00:00.105 ******** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "All assertions passed" | |
} | |
[WARNING]: Could not match supplied host pattern, ignoring: bastion | |
PLAY [bastion[0]] ****************************************************************************************************************************** | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster | |
[WARNING]: Could not match supplied host pattern, ignoring: etcd | |
PLAY [k8s-cluster:etcd] ************************************************************************************************************************ | |
skipping: no hosts matched | |
PLAY [k8s-cluster:etcd] ************************************************************************************************************************ | |
skipping: no hosts matched | |
PLAY [etcd] ************************************************************************************************************************************ | |
skipping: no hosts matched | |
PLAY [k8s-cluster] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [k8s-cluster] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: kube-master | |
PLAY [kube-master] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [k8s-cluster] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: calico-rr | |
PLAY [calico-rr] ******************************************************************************************************************************* | |
skipping: no hosts matched | |
PLAY [kube-master[0]] ************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [kube-master] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [kube-master] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [k8s-cluster] ***************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY RECAP ************************************************************************************************************************************* | |
localhost : ok=1 changed=0 unreachable=0 failed=0 | |
Tuesday 27 August 2019 07:26:29 +0000 (0:00:00.134) 0:00:00.240 ******** | |
=============================================================================== | |
Check ansible version >=2.7.8 ----------------------------------------------------------------------------------------------------------- 0.14s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment