Skip to content

Instantly share code, notes, and snippets.

View gbranchaudrubenovitch's full-sized avatar

Gabriel Branchaud Rubenovitch gbranchaudrubenovitch

View GitHub Profile
@gbranchaudrubenovitch
gbranchaudrubenovitch / ansible-hash-objects-sample
Last active December 22, 2016 09:35
Some ansible hash-objects samples...
# in your group vars
HOST_SUFFIX: "dev.apps"
SERVICE_LIST:
- {serviceName: "my_service1", destinationUrl: "http://some-random-dev-machine:5555/"}
- {serviceName: "admin.my_service1", destinationUrl: "http://some-random-dev-machine:5556/"}
- {serviceName: "other-service2", destinationUrl: "http://another-machine-another-port:4279/"}
# in your playbook's yaml
...
roles:
string combinedPath = System.IO.Path.Combine(rootFolder, "/Code/Domain/output.file");
System.IO.File.WriteAllText(combinedPath, content);