Can I put comments in commands?


If I have YAML code like this:

      name: install-aws-tools
      command: |
          curl -O
          sudo python
          sudo apt-get update
          sudo apt-get install -y python-pip libpython-dev
          sudo pip install awscli

Is it possible to comment on the lines after the | ?


Yeah just prefix the line with #


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.