Can I put comments in commands?


#1

If I have YAML code like this:

run:
      name: install-aws-tools
      command: |
          curl -O https://bootstrap.pypa.io/get-pip.py
          sudo python get-pip.py
          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 | ?


#2

Yeah just prefix the line with #


#3

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