*** etienne has quit IRC | 00:54 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #ara | 04:35 | |
*** etienne has joined #ara | 14:49 | |
*** sshnaidm is now known as sshnaidm|afk | 15:59 | |
*** Ussat has joined #ara | 16:09 | |
Ussat | Hello people, I do most of my ansible play dev work on my macbook, and then syn via git. That aside, is ara avaliable to install on macos ? | 16:09 |
---|---|---|
dmsimard | Ussat: hey, I've never personally tried ara on macos but it should probably work | 16:24 |
dmsimard | how is ansible itself installed ? homebrew ? virtualenv ? | 16:24 |
dmsimard | main requirement is python>=3.5 | 16:24 |
dmsimard | if it works we could take this as an opportunity to document it :) | 16:25 |
Ussat | virtualenv | 16:29 |
Ussat | with pip | 16:29 |
Ussat | Python 3.8.5 (default, Jul 21 2020, 10:48:26) | 16:30 |
Ussat | [Clang 11.0.3 (clang-1103.0.32.62)] on darwin | 16:30 |
Ussat | Type "help", "copyright", "credits" or "license" for more information. | 16:30 |
Ussat | I will give it a shot | 16:30 |
Ussat | I just want to monitor my dev stuff, and will prob put that on my prod ansible master also | 16:31 |
Ussat | Will see, document and report back | 16:31 |
dmsimard | should be possible to get it to work by executing "pip install ara[server]" inside the virtualenv and then "export ANSIBLE_CALLBACK_PLUGINS=$(python3 -m ara.setup.callback_plugins)" and then run a playbook | 16:33 |
dmsimard | there could be a gotcha on the sqlite dependency | 16:33 |
Ussat | yup...gonna give that a shot | 16:33 |
Ussat | I have sqlite installed | 16:33 |
Ussat | 3.28.0 2019-04-15 14:49:49 378230ae7f4b721c8b8d83c8ceb891449685cd23b1702a57841f1be40b5daapl | 16:35 |
dmsimard | looks good, the django sqlite backend requires 3.8.3 and above | 16:37 |
Ussat | Will give it the old college try | 16:37 |
dmsimard | Ussat: so, does it work ? so much suspense :) | 17:05 |
Ussat | Will test when I get a chance, work :) | 17:15 |
Ussat | work right now | 17:15 |
dmsimard | oh, no worries, thought you were trying out right away :p | 17:18 |
Ussat | Will soon(ish) | 17:18 |
Ussat | Well, did a bunch database stuff, play is running now | 17:25 |
Ussat | and it makes watching the play VERY verbose | 17:26 |
Ussat | and...... | 17:29 |
Ussat | drumroll........ | 17:29 |
Ussat | dumdum | 17:29 |
Ussat | works like a dream | 17:30 |
dmsimard | awesome | 17:30 |
dmsimard | what do you mean by very verbose ? | 17:30 |
Ussat | I ran the p[lay with -vv | 17:30 |
Ussat | I will play with it a bit but literall, worked out of the box | 17:30 |
dmsimard | \o/ | 17:31 |
Ussat | So, can call it a success. python3, sqlite and just follow the instructions on the website | 17:32 |
Ussat | I will deploy this to prod | 17:32 |
Ussat | This is great | 17:32 |
dmsimard | any homebrew stuff in there ? or is that the built-in python3 from mac ? | 17:33 |
Ussat | brew install python, sqlite | 17:35 |
Ussat | pip3 install ansible | 17:35 |
Ussat | pip3 install install ara[server] | 17:35 |
Ussat | Thats it | 17:35 |
Ussat | I mean, my env is a lot more,. but thats it, when you pip3 install ara[server] it installs its dependancies, but really, was a non issue | 17:36 |
*** Comnenus has joined #ara | 17:37 | |
Ussat | I will pastbin my env | 17:37 |
Ussat | most os the pip3 stuff was pulled in because of ara | 17:38 |
dmsimard | good to know | 17:38 |
Ussat | https://paste.centos.org/view/17785625 | 17:39 |
Ussat | but, really, after the install, ran play, it database config, then ran ara-manage runserver | 17:40 |
Ussat | hit the url, and all good | 17:40 |
Ussat | But really could not have been easier | 17:40 |
dmsimard | simplicity is definitely one of the objectives | 17:41 |
Ussat | It was cake, really | 17:41 |
Ussat | and its just what was looking for | 17:42 |
Ussat | I will put this on our master, auto start the django stuff and call it goods | 17:42 |
Ussat | I will put this on our master, auto start the django stuff and call it good | 17:42 |
Ussat | So, you can add that it works on macos now :) | 17:42 |
Ussat | Does Cent 7 require a container, or will it run out of the box, I read the github about dependancies | 17:43 |
dmsimard | yeah there's gotchas on centos7 but it works out of the box on centos8 | 17:43 |
dmsimard | with podman it's easy enough | 17:44 |
Ussat | I have no plans for 8 here for......years | 17:44 |
Ussat | I will just toss a docker on | 17:44 |
Ussat | Well, good deal, glad testing was successfull | 17:44 |
Ussat | Thanks for the help | 17:47 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: docs: mention that ara works on Mac OS too https://review.opendev.org/747995 | 17:48 |
dmsimard | Ussat: ^ :) | 17:48 |
*** markuman has quit IRC | 17:51 | |
Ussat | Gonna demo this at out team meeting | 18:01 |
dmsimard | may the live demo gods be with you | 18:02 |
Ussat | :) | 18:02 |
Ussat | Gonna demo it from my macbook before I go live | 18:03 |
dmsimard | if you get questions about a CLI client, tell them it's already in master and coming in 1.5 :p | 18:05 |
openstackgerrit | Merged recordsansible/ara master: docs: mention that ara works on Mac OS too https://review.opendev.org/747995 | 18:13 |
Ussat | will do | 18:24 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara-collection master: readme: add link to the collection on Ansible galaxy https://review.opendev.org/747997 | 18:30 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: readme: add link to ansible collection repository https://review.opendev.org/747998 | 18:30 |
openstackgerrit | Merged recordsansible/ara master: readme: add link to ansible collection repository https://review.opendev.org/747998 | 20:22 |
*** Ussat has quit IRC | 21:07 | |
*** etienne has quit IRC | 21:07 | |
*** Arsenick has quit IRC | 22:17 | |
*** Arsenick has joined #ara | 22:18 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!