Master
docker build -t foo . docker run -it foo ansible-playbook main.yml
Fehler:
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAY [localhost] **********************************************************************************************************************
TASK [Gathering Facts] **************************************************************************************************************** ok: [localhost]
TASK [infrastructure : include_tasks] ************************************************************************************************* included: /work/ansible-beginner/infrastructure/tasks/vpc.yml for localhost
TASK [infrastructure : Create the VPC] ************************************************************************************************ fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": "python library cs required: pip install cs"} to retry, use: --limit @/work/ansible-beginner/main.retry
CS ist aber installiert; Problem hier beschrieben aber Kontext unklar https://stackoverflow.com/questions/49935738/ansible-cloudstack-modules-do-not-find-cloudstack-python-library-cs