Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C coap_testing_tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • f-interop-contributors
  • coap_testing_tool
  • Merge requests
  • !1

Merged
Created Jan 06, 2017 by Thijs Walcarius@twalcariusMaintainer

Only have tasks in ansible/main.yml

  • Overview 1
  • Commits 1
  • Changes 1

Hi Federico,

I'm currently looking into getting the f-interop CI tests, and I found that they are currently failing on the inclusion of the coap_testing_tool deployment.

Instead of executing the ansible-playbook executable directly, I think a better solution is to start the playbook with a simple "include"-statement. This has several advantages, like the easy definition of variables.

This means that we can then use the following statement in roles/coap/tasks/coap.yml in the f-interop repo:

- name: Run the provisionning
  include: "{{ finterop_proj_path }}/coap_testing_tool/ansible/main.yml"
  vars:
    - testing_tool_dir: "{{ finterop_proj_path }}/coap_testing_tool"

Instead of:

- name: Run the provisionning
  tags: coap
  become: True
  command: 'ansible-playbook {{ finterop_proj_path }}/coap_testing_tool/ansible/main.yml -i "localhost," --connection=local'

Can you accept this merge request, so that I can further debug the CI script?

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: patch-1