Open thm-design opened 6 years ago
Thank you @thm-design! Will look into it pretty soon. Did you end up not using it or got to overcome this issue?
Hey, yes I am still working my way through. (this is my first try at using Ansible). Here is what I have done according to my usecase.
Using Fedora 26 and commented out papertrail functionality for now
I commented out the SSL functionality, I really wanted this actually but I am trying to run this with subdomains, so something like app.doman.org
etc. And "Let's Encrypt" was complaining because the main domain is not set up for SSL
I am on OSX and had to add a local ansible.cfg
file in the main folder pointing to a local hosts
file as the default files were not working due to permission issues in OSX I believe. I also had to add some stuff to make the git module work. This is what my local ansible.cfg
looks like now:
[defaults]
hostfile = hosts
ansible_managed = Please do not change this file directly since it is managed by Ansible and will be overwritten
host_key_checking=false
inventory = hosts
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes -o UserKnownHostsFile=/dev/null
SSH wasn't working properly for me. Running ssh-add -l
returned something like The agent has no identities.
I found out since I am using zshell I needed to add the ssh-agent
to my plugins in my .zshrc
file...
Now the git module is working. And I am just running into some issues with installing npm dependencies for my app. But 99% there!!
Has been a fun adventure exploring Ansible with your playbook, so thanks for publishing this. Don't suppose you have something similar for Ubuntu? I am just a bit nervous using CentOS for a new project when I do not have much experience with it haha.
This is amazing! Thank you so much for your feedback. I will try to fix those ASAP and maybe try to make it more robust.
Pretty awesome playbook!
The [add repo] task is failing: Only Fedora 26 and 27 are availlable: http://download.opensuse.org/repositories/home:/zhonghuaren/
The [Download Papertrail installer] task is also failing,
https://papertrailapp.com/destinations/3937483/setup.sh
now has anhtpsswrd
type authentication popup.