{"action":"created","comment":{"url":"https://api.github.com/repos/WeAreWizards/blog/pulls/comments/30498906","id":30498906,"diff_hunk":"@@ -0,0 +1,333 @@\n+Title: My experience of using NixOps as an Ansible user\n+Date: 2015-05-12\n+Short_summary: I reflect on my experience of having used Nix(OS/Ops) given my previous experience of Ansible\n+Category: Infrastructure\n+Authors: Gautier\n+\n+\n+One of our client recently asked us to host and support their existing Django\n+application.\n+Although my usual tools for this kind of jobs are Ubuntu and\n+[Ansible](http://www.ansible.com), I wanted to try the [Nix\n+tools](https://nixos.org/nix/) in a real project. Tom has been praising their\n+qualities since we started our company!\n+<!-- PELICAN_END_SUMMARY -->\n+\n+In this article I am writing about my experience of using NixOps to deploy\n+our client application on our infrastructure.\n+\n+I am illustrating the practical differences between NixOps and Ansible using a\n+test project similar in terms of components to the application we deployed.\n+\n+But first, let me introduce Nix and Ansible.\n+\n+## Ansible\n+\n+My favourite configuration management tool for the last couple of years has\n+been Ansible. It supports server configuration, server orchestration and\n+even resources provisioning (like an S3 bucket or a Google Compute Engine","path":"content/articles/ansible-and-nix.md","position":28,"original_position":28,"commit_id":"9dee93cd85627353f44518a30beb902bb0e17e96","original_commit_id":"f8ebf22873d28e202b33bf957554a036b68d9507","user":{"login":"Gautier","id":13497,"avatar_url":"https://avatars.githubusercontent.com/u/13497?v=3","gravatar_id":"","url":"https://api.github.com/users/Gautier","html_url":"https://github.com/Gautier","followers_url":"https://api.github.com/users/Gautier/followers","following_url":"https://api.github.com/users/Gautier/following{/other_user}","gists_url":"https://api.github.com/users/Gautier/gists{/gist_id}","starred_url":"https://api.github.com/users/Gautier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gautier/subscriptions","organizations_url":"https://api.github.com/users/Gautier/orgs","repos_url":"https://api.github.com/users/Gautier/repos","events_url":"https://api.github.com/users/Gautier/events{/privacy}","received_events_url":"https://api.github.com/users/Gautier/received_events","type":"User","site_admin":false},"body":"Annette thinks \"an S3 bucket\" is better as this is how you would pronounce it and I've find more google results for \"an S3 bucket\" (About 50,400 results (0.29 seconds)) than \"a S3 bucket\" (About 16,100 results (0.25 seconds)).","created_at":"2015-05-18T11:16:52Z","updated_at":"2015-05-18T11:16:52Z","html_url":"https://github.com/WeAreWizards/blog/pull/17#discussion_r30498906","pull_request_url":"https://api.github.com/repos/WeAreWizards/blog/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/comments/30498906"},"html":{"href":"https://github.com/WeAreWizards/blog/pull/17#discussion_r30498906"},"pull_request":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/WeAreWizards/blog/pulls/17","id":32593621,"html_url":"https://github.com/WeAreWizards/blog/pull/17","diff_url":"https://github.com/WeAreWizards/blog/pull/17.diff","patch_url":"https://github.com/WeAreWizards/blog/pull/17.patch","issue_url":"https://api.github.com/repos/WeAreWizards/blog/issues/17","number":17,"state":"open","locked":false,"title":"Add Ansible and Nix","user":{"login":"Gautier","id":13497,"avatar_url":"https://avatars.githubusercontent.com/u/13497?v=3","gravatar_id":"","url":"https://api.github.com/users/Gautier","html_url":"https://github.com/Gautier","followers_url":"https://api.github.com/users/Gautier/followers","following_url":"https://api.github.com/users/Gautier/following{/other_user}","gists_url":"https://api.github.com/users/Gautier/gists{/gist_id}","starred_url":"https://api.github.com/users/Gautier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gautier/subscriptions","organizations_url":"https://api.github.com/users/Gautier/orgs","repos_url":"https://api.github.com/users/Gautier/repos","events_url":"https://api.github.com/users/Gautier/events{/privacy}","received_events_url":"https://api.github.com/users/Gautier/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-03T14:56:39Z","updated_at":"2015-05-18T11:16:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfb645e830a11a4555b7353416db9687ff205282","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WeAreWizards/blog/pulls/17/commits","review_comments_url":"https://api.github.com/repos/WeAreWizards/blog/pulls/17/comments","review_comment_url":"https://api.github.com/repos/WeAreWizards/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WeAreWizards/blog/issues/17/comments","statuses_url":"https://api.github.com/repos/WeAreWizards/blog/statuses/9dee93cd85627353f44518a30beb902bb0e17e96","head":{"label":"WeAreWizards:ansible-and-nix","ref":"ansible-and-nix","sha":"9dee93cd85627353f44518a30beb902bb0e17e96","user":{"login":"WeAreWizards","id":8532150,"avatar_url":"https://avatars.githubusercontent.com/u/8532150?v=3","gravatar_id":"","url":"https://api.github.com/users/WeAreWizards","html_url":"https://github.com/WeAreWizards","followers_url":"https://api.github.com/users/WeAreWizards/followers","following_url":"https://api.github.com/users/WeAreWizards/following{/other_user}","gists_url":"https://api.github.com/users/WeAreWizards/gists{/gist_id}","starred_url":"https://api.github.com/users/WeAreWizards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeAreWizards/subscriptions","organizations_url":"https://api.github.com/users/WeAreWizards/orgs","repos_url":"https://api.github.com/users/WeAreWizards/repos","events_url":"https://api.github.com/users/WeAreWizards/events{/privacy}","received_events_url":"https://api.github.com/users/WeAreWizards/received_events","type":"Organization","site_admin":false},"repo":{"id":24109771,"name":"blog","full_name":"WeAreWizards/blog","owner":{"login":"WeAreWizards","id":8532150,"avatar_url":"https://avatars.githubusercontent.com/u/8532150?v=3","gravatar_id":"","url":"https://api.github.com/users/WeAreWizards","html_url":"https://github.com/WeAreWizards","followers_url":"https://api.github.com/users/WeAreWizards/followers","following_url":"https://api.github.com/users/WeAreWizards/following{/other_user}","gists_url":"https://api.github.com/users/WeAreWizards/gists{/gist_id}","starred_url":"https://api.github.com/users/WeAreWizards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeAreWizards/subscriptions","organizations_url":"https://api.github.com/users/WeAreWizards/orgs","repos_url":"https://api.github.com/users/WeAreWizards/repos","events_url":"https://api.github.com/users/WeAreWizards/events{/privacy}","received_events_url":"https://api.github.com/users/WeAreWizards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WeAreWizards/blog","description":"We Are Wizards Blog","fork":false,"url":"https://api.github.com/repos/WeAreWizards/blog","forks_url":"https://api.github.com/repos/WeAreWizards/blog/forks","keys_url":"https://api.github.com/repos/WeAreWizards/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeAreWizards/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeAreWizards/blog/teams","hooks_url":"https://api.github.com/repos/WeAreWizards/blog/hooks","issue_events_url":"https://api.github.com/repos/WeAreWizards/blog/issues/events{/number}","events_url":"https://api.github.com/repos/WeAreWizards/blog/events","assignees_url":"https://api.github.com/repos/WeAreWizards/blog/assignees{/user}","branches_url":"https://api.github.com/repos/WeAreWizards/blog/branches{/branch}","tags_url":"https://api.github.com/repos/WeAreWizards/blog/tags","blobs_url":"https://api.github.com/repos/WeAreWizards/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeAreWizards/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeAreWizards/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeAreWizards/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeAreWizards/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/WeAreWizards/blog/languages","stargazers_url":"https://api.github.com/repos/WeAreWizards/blog/stargazers","contributors_url":"https://api.github.com/repos/WeAreWizards/blog/contributors","subscribers_url":"https://api.github.com/repos/WeAreWizards/blog/subscribers","subscription_url":"https://api.github.com/repos/WeAreWizards/blog/subscription","commits_url":"https://api.github.com/repos/WeAreWizards/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeAreWizards/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeAreWizards/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeAreWizards/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeAreWizards/blog/contents/{+path}","compare_url":"https://api.github.com/repos/WeAreWizards/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeAreWizards/blog/merges","archive_url":"https://api.github.com/repos/WeAreWizards/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeAreWizards/blog/downloads","issues_url":"https://api.github.com/repos/WeAreWizards/blog/issues{/number}","pulls_url":"https://api.github.com/repos/WeAreWizards/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/WeAreWizards/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/WeAreWizards/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeAreWizards/blog/labels{/name}","releases_url":"https://api.github.com/repos/WeAreWizards/blog/releases{/id}","created_at":"2014-09-16T17:23:36Z","updated_at":"2015-05-07T12:06:38Z","pushed_at":"2015-05-18T11:10:00Z","git_url":"git://github.com/WeAreWizards/blog.git","ssh_url":"git@github.com:WeAreWizards/blog.git","clone_url":"https://github.com/WeAreWizards/blog.git","svn_url":"https://github.com/WeAreWizards/blog","homepage":"https://blog.wearewizards.io/","size":2137,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"WeAreWizards:master","ref":"master","sha":"d0889c83f56305ba2ad26f3e195ed6ee18acbbeb","user":{"login":"WeAreWizards","id":8532150,"avatar_url":"https://avatars.githubusercontent.com/u/8532150?v=3","gravatar_id":"","url":"https://api.github.com/users/WeAreWizards","html_url":"https://github.com/WeAreWizards","followers_url":"https://api.github.com/users/WeAreWizards/followers","following_url":"https://api.github.com/users/WeAreWizards/following{/other_user}","gists_url":"https://api.github.com/users/WeAreWizards/gists{/gist_id}","starred_url":"https://api.github.com/users/WeAreWizards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeAreWizards/subscriptions","organizations_url":"https://api.github.com/users/WeAreWizards/orgs","repos_url":"https://api.github.com/users/WeAreWizards/repos","events_url":"https://api.github.com/users/WeAreWizards/events{/privacy}","received_events_url":"https://api.github.com/users/WeAreWizards/received_events","type":"Organization","site_admin":false},"repo":{"id":24109771,"name":"blog","full_name":"WeAreWizards/blog","owner":{"login":"WeAreWizards","id":8532150,"avatar_url":"https://avatars.githubusercontent.com/u/8532150?v=3","gravatar_id":"","url":"https://api.github.com/users/WeAreWizards","html_url":"https://github.com/WeAreWizards","followers_url":"https://api.github.com/users/WeAreWizards/followers","following_url":"https://api.github.com/users/WeAreWizards/following{/other_user}","gists_url":"https://api.github.com/users/WeAreWizards/gists{/gist_id}","starred_url":"https://api.github.com/users/WeAreWizards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeAreWizards/subscriptions","organizations_url":"https://api.github.com/users/WeAreWizards/orgs","repos_url":"https://api.github.com/users/WeAreWizards/repos","events_url":"https://api.github.com/users/WeAreWizards/events{/privacy}","received_events_url":"https://api.github.com/users/WeAreWizards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WeAreWizards/blog","description":"We Are Wizards Blog","fork":false,"url":"https://api.github.com/repos/WeAreWizards/blog","forks_url":"https://api.github.com/repos/WeAreWizards/blog/forks","keys_url":"https://api.github.com/repos/WeAreWizards/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeAreWizards/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeAreWizards/blog/teams","hooks_url":"https://api.github.com/repos/WeAreWizards/blog/hooks","issue_events_url":"https://api.github.com/repos/WeAreWizards/blog/issues/events{/number}","events_url":"https://api.github.com/repos/WeAreWizards/blog/events","assignees_url":"https://api.github.com/repos/WeAreWizards/blog/assignees{/user}","branches_url":"https://api.github.com/repos/WeAreWizards/blog/branches{/branch}","tags_url":"https://api.github.com/repos/WeAreWizards/blog/tags","blobs_url":"https://api.github.com/repos/WeAreWizards/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeAreWizards/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeAreWizards/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeAreWizards/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeAreWizards/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/WeAreWizards/blog/languages","stargazers_url":"https://api.github.com/repos/WeAreWizards/blog/stargazers","contributors_url":"https://api.github.com/repos/WeAreWizards/blog/contributors","subscribers_url":"https://api.github.com/repos/WeAreWizards/blog/subscribers","subscription_url":"https://api.github.com/repos/WeAreWizards/blog/subscription","commits_url":"https://api.github.com/repos/WeAreWizards/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeAreWizards/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeAreWizards/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeAreWizards/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeAreWizards/blog/contents/{+path}","compare_url":"https://api.github.com/repos/WeAreWizards/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeAreWizards/blog/merges","archive_url":"https://api.github.com/repos/WeAreWizards/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeAreWizards/blog/downloads","issues_url":"https://api.github.com/repos/WeAreWizards/blog/issues{/number}","pulls_url":"https://api.github.com/repos/WeAreWizards/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/WeAreWizards/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/WeAreWizards/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeAreWizards/blog/labels{/name}","releases_url":"https://api.github.com/repos/WeAreWizards/blog/releases{/id}","created_at":"2014-09-16T17:23:36Z","updated_at":"2015-05-07T12:06:38Z","pushed_at":"2015-05-18T11:10:00Z","git_url":"git://github.com/WeAreWizards/blog.git","ssh_url":"git@github.com:WeAreWizards/blog.git","clone_url":"https://github.com/WeAreWizards/blog.git","svn_url":"https://github.com/WeAreWizards/blog","homepage":"https://blog.wearewizards.io/","size":2137,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/17"},"html":{"href":"https://github.com/WeAreWizards/blog/pull/17"},"issue":{"href":"https://api.github.com/repos/WeAreWizards/blog/issues/17"},"comments":{"href":"https://api.github.com/repos/WeAreWizards/blog/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WeAreWizards/blog/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/WeAreWizards/blog/statuses/9dee93cd85627353f44518a30beb902bb0e17e96"}}}}