SuperLag | holman: the next issue is that ansible-pull doesn't seem to be working. I created a repo-specific token. I can do "git clone https://oauth2:<my_token>@github.com/my_repo/my_repo.git" from the bootstrapped node, and it works. | 00:17 |
---|---|---|
SuperLag | https://paste.centos.org/view/0abbdf1a | 00:20 |
SuperLag | that's straight from the cloud-init examples for the ansible module | 00:20 |
SuperLag | adapted to suit | 00:21 |
SuperLag | and ansible *is* getting installed on the node | 00:21 |
minimal | SuperLag: did you check /var/log/cloud-init.log to see what is happening? | 00:43 |
holman | SuperLag: minimal asked what I would | 09:04 |
holman | Also never tried with oauth so I'm not certain that will work | 09:04 |
holman | But haven't put any thought into it | 09:04 |
SuperLag | holman: I know *what* it is now, but I'm not sure (yet) how to fix it. | 15:57 |
SuperLag | holman: we have all of our Ansible stuff for one customer in its own repo. There's already an inventory file that exists for that customer, and the ansible.cfg points to that inventory file. But for the playbook I'm running, I'm trying to run it only on localhost. | 15:58 |
SuperLag | I'm having a hell of a time just trying to get the NVM install script to run from cloud-init. | 19:01 |
minimal | SuperLag: again I'll mention about logs, there's no really point in mentioned issues/problems if you're not going to provide logs for people to look at to try and help you | 19:22 |
SuperLag | I got 'em… sorry, just trying to get 'em somewhere to read | 19:34 |
SuperLag | https://paste.centos.org/view/ee8cf14e | 19:35 |
SuperLag | it seems to have ran everything together for that piece, rather than one line at a time like other stuff in the same log | 19:36 |
SuperLag | I updated it to add the Ansible that it's running… https://paste.centos.org/view/5658b054 | 19:39 |
SuperLag | ugh, I can't even paste right | 19:49 |
minimal | well it is running the ansible-git command with appropriate options (both defaults and what you specified) so that's why it's such a long single command | 19:53 |
minimal | does the same ansible-git command work manually? | 19:53 |
SuperLag | I'm not sure how to run that manually. I know it's not the oauth issue, as that works fine. | 19:55 |
minimal | well the log shows the exact command being run as user "root": "ansible-git ...." | 19:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!