-
Notifications
You must be signed in to change notification settings - Fork 1
simonjohansson/ansible-docker-mesos
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Horrible half day hack to bring up mesos+docker with ansible. I have never used ansible before so this is full of bad practices, Im sure ``` vagrant up ansible-playbook -i hosts site.yml -u vagrant -s --private-key=~/.vagrant.d/insecure_private_key ansible mesos-masters -a "sudo service marathon start" -i hosts -u vagrant --private-key=~/.vagrant.d/insecure_private_key ansible mesos-slaves -a "sudo docker pull libmesos/ubuntu" -i hosts -u vagrant --private-key=~/.vagrant.d/insecure_private_key cat > /tmp/test.json <<EOF { "container": { "image": "docker:///libmesos/ubuntu", "options" : [] }, "id": "kehehe", "instances": "5", "cpus": ".5", "mem": "128", "uris": [ ], "cmd": "while sleep 10; do date -u +%T; done" } EOF curl -X POST -H "Content-Type: application/json" mesos-master1:8080/v2/apps -d@/tmp/test.json ```
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published