dockpack / base_goss Goto Github PK
View Code? Open in Web Editor NEWInstall the goss test framework for infra validation
License: MIT License
Install the goss test framework for infra validation
License: MIT License
Initial run:
# ansible-playbook deploy.yml -t goss --diff --check
PLAY [goss] *****************************************************************************************
TASK [dockpack.base_goss : Install ca-certificates] *************************************************
ok: [client]
TASK [dockpack.base_goss : get goss binary] *********************************************************
changed: [client -> localhost]
TASK [dockpack.base_goss : copy goss to remote] *****************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [client]: FAILED! => {"changed": false, "msg": "Could not find or access '/tmp/goss' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
After initial download has succeeded and /tmp/goss
is present
# ansible-playbook deploy.yml -t goss --diff --check
PLAY [goss] *****************************************************************************************
TASK [dockpack.base_goss : Install ca-certificates] *************************************************
ok: [client]
TASK [dockpack.base_goss : get goss binary] *********************************************************
ok: [client -> localhost]
TASK [dockpack.base_goss : copy goss to remote] *****************************************************
ok: [client]
TASK [dockpack.base_goss : copy dgoss to remote] ****************************************************
ok: [client]
TASK [dockpack.base_goss : copy test_goss.yml to remote] ********************************************
ok: [client]
TASK [dockpack.base_goss : verify if /root/goss.yaml exists] ****************************************
ok: [client]
TASK [dockpack.base_goss : render goss.yaml on remote] **********************************************
skipping: [client]
TASK [dockpack.base_goss : Execute Goss tests] ******************************************************
skipping: [client]
TASK [dockpack.base_goss : Display details about the Goss results] **********************************
fatal: [client]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout_lines'\n\nThe error appears to have been in '/home/ansible/casper/roles/dockpack.base_goss/tasks/main.yml': line 75, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Display details about the Goss results\n ^ here\n"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.