GiorgioRegni / AnsibleScratch

Apache License 2.0
0 stars 0 forks source link

Ansible Install Script #3

Closed ratmav closed 8 years ago

ratmav commented 8 years ago

Detect the OS (CentOS, Ubuntu 14.04), install Ansible from a source checkout, and update ~/.bashrc to export shell config. Update the project README to install Ansible using the script. Python or Bash is OK here.

ratmav commented 8 years ago

Have setup script in Bash that works on Ubuntu Server 14.04.

ratmav commented 8 years ago

Added CentOS 7 support to install script.

ratmav commented 8 years ago

Tested on fresh snapshots of my local Ubuntu Server 14.04 LTS and CentOS 7 virtual machines. Looks good.

ratmav commented 8 years ago

@GiorgioRegni mentioned to me today via Skype that he'd like to keep the Ansible config file in a subfolder, not the project root. Not a big deal at all, I just need to update the install script and move the file.

ratmav commented 8 years ago

Some feedback from @GiorgioRegni today:

Also, I noticed during today's demo that .ssh isn't created by the setup script. Since the setup script clones over HTTPS, configuring the SSH client may not be necessary. Verify this and modify the script accordingly.

ratmav commented 8 years ago

Moved env config to it's own script to be sourced and removed the SSH config, which turned out to not be necessary due to cloning via HTTPS.

ratmav commented 8 years ago

Moved Ansible configuration to a subfolder. Depending on feedback from #1, there may be some more changes here.

ratmav commented 8 years ago

@GiorgioRegni: Do we need any more changes to this, or is the ready to close?

ratmav commented 8 years ago

Got the go-ahead yesterday to close this. Any changes past this point can be a new issue.