Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2310

Remove print statements from playbooks

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The latest version of the appstore playbooks are printing a large amount of text to the screen.

      This may be due to lots of "var" statements being included (from debug module.)

      For this task, limit the data that are being printed to stdout. Only print the barest essentials so that it is easier to follow what the playbooks are doing, as well as any problems that may come up. Use msg instead of var to fine-tune what gets printed.

      Quick refresher:
      https://linuxacademy.com/cp/courses/lesson/course/3550/lesson/10/module/288

        Attachments

          Activity

          Show
          cdias1 Chester Dias (Inactive) added a comment - https://bitbucket.org/chesterdias/chester-local-appstore-playbooks/branch/IGBF-2310#diff
          Show
          cdias1 Chester Dias (Inactive) added a comment - PR: https://bitbucket.org/lorainelab/appstore-playbooks/pull-requests/18/igbf-2310-removed-printing-of-large-json/diff
          Hide
          cdias1 Chester Dias (Inactive) added a comment -

          Json printing was needed for a reference purpose to setup variables throughout the ansible to reduce the manual entry of variables
          In this, I have removed large Json printing from the only playbooks

          Show
          cdias1 Chester Dias (Inactive) added a comment - Json printing was needed for a reference purpose to setup variables throughout the ansible to reduce the manual entry of variables In this, I have removed large Json printing from the only playbooks

            People

            • Assignee:
              cdias1 Chester Dias (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: