Skip to content

Instantly share code, notes, and snippets.

@brollypop
Created January 24, 2015 22:16
Show Gist options
  • Save brollypop/315da77dc15331638fb1 to your computer and use it in GitHub Desktop.
Save brollypop/315da77dc15331638fb1 to your computer and use it in GitHub Desktop.
the command to execute:
echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main" \| sudo tee /etc/apt/sources.list.d/tokumx.list
What i tried:
1)
- name: Add package repository for TokuMX
shell: echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main" \| sudo tee /etc/apt/sources.list.d/tokumx.list
Problem: doesn't execute
2)
- name: Add package repository for TokuMX #1
command: sudo tee /etc/apt/sources.list.d/tokumx.list
- name: Add package repository for TokuMX #2
command: echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main"
Problem: stops at #1 part
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment