{"action":"created","issue":{"url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/57","labels_url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/57/comments","events_url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/57/events","html_url":"https://github.com/awailly/cis-ubuntu-ansible/issues/57","id":97981850,"number":57,"title":"Command line utility for deployment","user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/milestones/2","html_url":"https://github.com/awailly/cis-ubuntu-ansible/milestones/Pre-release","labels_url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/milestones/2/labels","id":1231165,"number":2,"title":"Pre-release","description":"- Include Beta bugs\r\n- Support updates of `remote_logs_host_address`\r\n- Close to the release version, only text related issues","creator":{"login":"awailly","id":971755,"avatar_url":"https://avatars.githubusercontent.com/u/971755?v=3","gravatar_id":"","url":"https://api.github.com/users/awailly","html_url":"https://github.com/awailly","followers_url":"https://api.github.com/users/awailly/followers","following_url":"https://api.github.com/users/awailly/following{/other_user}","gists_url":"https://api.github.com/users/awailly/gists{/gist_id}","starred_url":"https://api.github.com/users/awailly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awailly/subscriptions","organizations_url":"https://api.github.com/users/awailly/orgs","repos_url":"https://api.github.com/users/awailly/repos","events_url":"https://api.github.com/users/awailly/events{/privacy}","received_events_url":"https://api.github.com/users/awailly/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2015-07-29T08:52:01Z","updated_at":"2015-07-31T13:51:27Z","due_on":"2015-09-06T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-29T17:01:29Z","updated_at":"2015-09-04T22:10:32Z","closed_at":null,"body":"We mentioned at some point (probably on IRC though) that we could have a Bash script for deployment distributed with the [releases](https://github.com/awailly/cis-ubuntu-ansible/releases).\r\n\r\nThe goal is to have a simple command line utility for users who want to test this without the *burden* of installing Ansible, reading the documentation, etc. So the script should install everything, set up the environment and present clear choices to the user (such as Desktop/Server, Remote log/Local logs).\r\n\r\nI'm opening this issue to see what this script should do exactly.\r\nWhat I listed so far:\r\n\r\n- [x] Download the repository.\r\n- [x] [Set up the environment](https://github.com/awailly/cis-ubuntu-ansible#setting-up-the-environment).\r\n- [x] Install Ansible and aptitude if needed.\r\n- [ ] Tune the environment (or it could assume that its a default Desktop config):\r\n  - Desktop/Server (`remove_xserver`)\r\n  - Remote logs (`send_rsyslog_remote`)\r\n  - Is the system partitioned? (`partitioning`)\r\n- [x] Run the playbook."},"comment":{"url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/comments/137865591","html_url":"https://github.com/awailly/cis-ubuntu-ansible/issues/57#issuecomment-137865591","issue_url":"https://api.github.com/repos/awailly/cis-ubuntu-ansible/issues/57","id":137865591,"user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T22:10:32Z","updated_at":"2015-09-04T22:10:32Z","body":"Working on this at https://gist.github.com/pchaigno/a9670e6d1b2dc5352d9f.\r\nI only have to tune the environment and the script will be ready.\r\n\r\nI'm not really sure how I should proceed with that last step though.\r\nShould I create a desktop config (keep X server and local logs) and copy it in the script as we do for tests? It would limit the script to a desktop usage. Alternatively, I could present the user with a limited choice: server (remove X server and remote logs), RPi (remove X server and local logs), Docker and desktop."}}