Open frippe75 opened 2 years ago
This would simplify calling from Ansible using Vault for secrets like:
- name: Create K8S Worker
shell: |
hpecp k8sworker create-with-ssh-key --ip {{ ansible_host }} --ssh-key {{ ezmeral_admin_privkey }}
environment: "{{ hpecp }}"
delegate_to: localhost
Would be nice if the CLI would check for ENV just like the Python client seems to provide. Easy fix? Tried setting up the dev-env to have a go but could not pull the docker image (I guess not on Docker hub).
Would like to run this via Ansible and was thinking I'd skip creating modules that uses the Python client and rather go for a more blunt usage via shell/command module.