{"id":16709309,"url":"https://github.com/mrlesmithjr/travis-ansible-testing","last_synced_at":"2026-05-10T03:02:39.727Z","repository":{"id":142637328,"uuid":"131291452","full_name":"mrlesmithjr/travis-ansible-testing","owner":"mrlesmithjr","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-19T06:13:44.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T01:13:42.695Z","etag":null,"topics":["ansible","ansible-roles","travis-ci","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrlesmithjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-27T12:06:28.000Z","updated_at":"2018-12-19T06:12:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7df70a1-ad10-482c-a96b-5b1d5b3df115","html_url":"https://github.com/mrlesmithjr/travis-ansible-testing","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/mrlesmithjr/travis-ansible-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Ftravis-ansible-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Ftravis-ansible-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Ftravis-ansible-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Ftravis-ansible-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlesmithjr","download_url":"https://codeload.github.com/mrlesmithjr/travis-ansible-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Ftravis-ansible-testing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260528651,"owners_count":23023008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-roles","travis-ci","unit-testing"],"created_at":"2024-10-12T20:04:31.583Z","updated_at":"2026-05-10T03:02:39.639Z","avatar_url":"https://github.com/mrlesmithjr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n**Table of Contents** _generated with [DocToc](https://github.com/thlorenz/doctoc)_\n\n- [travis-ansible-testing](#travis-ansible-testing)\n  - [Updating .travis.yml](#updating-travisyml)\n  - [Using In Ansible Roles](#using-in-ansible-roles)\n  - [ansible-lint](#ansible-lint)\n  - [yamllint](#yamllint)\n  - [License](#license)\n  - [Author Information](#author-information)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# travis-ansible-testing\n\nThis role is purely for integrating with Ansible roles in order to conduct\nTravis CI tests using Docker containers.\n\n## Updating .travis.yml\n\nRun the following to update the Ansible role name in `.travis.yml`:\n\n```bash\n./setup_travis_tests.sh\n...\nEnter the Ansible role name: test-role\n```\n\n## Using In Ansible Roles\n\nIn regards to using these tests within a new or existing Ansible role you may\ndo the following in order to integrate these tests.\n\n```bash\nexport TRAVIS_TEST_VER=\"v1.6.2\"\nwget https://github.com/mrlesmithjr/travis-ansible-testing/archive/$TRAVIS_TEST_VER.tar.gz\ntar zxvf $TRAVIS_TEST_VER.tar.gz --strip 1 --exclude=\"README.md\"\n./setup_travis_tests.sh\n```\n\n\u003e NOTE: You must also setup Travis integration for the repo you would like to\n\u003e integrate with.\n\n## ansible-lint\n\nWe have implemented [`ansible-lint`](https://github.com/willthames/ansible-lint)\nas part of these tests.\n\n\u003e NOTE: ansible-lint checks playbooks for practices and behaviour that could potentially be improved\n\nIf `ansible-lint` detects something the testing will fail. So you need to ensure\nthat your code aligns to `ansible-lint` practices. There are a few ways that you\ncan resolve these issues if the code being detected is determined to be accurate.\nUse the [following](https://github.com/willthames/ansible-lint#false-positives) as\nhow to resolve these alerts.\n\n## yamllint\n\nWe have implemented [`yamllint`](https://github.com/adrienverge/yamllint) to\nensure that all `YAML` files are valid.\n\n\u003e NOTE: yamllint does not only check for syntax validity, but for weirdnesses\n\u003e like key repetition and cosmetic problems such as lines length, trailing spaces,\n\u003e indentation, etc.\n\n## License\n\nMIT\n\n## Author Information\n\nLarry Smith Jr.\n\n- [EverythingShouldBeVirtual](http://everythingshouldbevirtual.com)\n- [@mrlesmithjr](https://www.twitter.com/mrlesmithjr)\n- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Ftravis-ansible-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlesmithjr%2Ftravis-ansible-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Ftravis-ansible-testing/lists"}