eparis / kubernetes-ansible

Ansible playbooks to build a kubernetes cluster from scratch
337 stars 135 forks source link

script fails when node is rhel7 atomic #13

Closed vnugent closed 9 years ago

vnugent commented 9 years ago

My .19 VM is a RHEL 7 Atomic host. Ansible fails here: https://github.com/eparis/kubernetes-ansible/blob/master/roles/common/tasks/main.yml#L18

Node .19

-bash-4.2# cat /etc/redhat-release
Red Hat Enterprise Linux Atomic Host release 7.1

Ansible output:

TASK: [common | Set the is_atomic fact] ***************************************
ok: [xxx.xxx.xxx..18]
ok: [xxx.xxx.xxx..19]
ok: [xxx.xxx.xxx..15]

TASK: [common | Determine if RHEL7] *******************************************
ok: [xxx.xxx.xxx..19]
ok: [xxx.xxx.xxx..15]
ok: [xxx.xxx.xxx..18]

TASK: [common | Register for RHEL7] *******************************************
skipping: [xxx.xxx.xxx..18]
fatal: [xxx.xxx.xxx..19] => error while evaluating conditional: is_rhel7.rc == 0 and is_atomic.rc != 0
skipping: [xxx.xxx.xxx..15]
eparis commented 9 years ago

fixed. sorry.