Post 2910434 by staticsafe@mastodon.zombocloud.com
 (DIR) More posts by staticsafe@mastodon.zombocloud.com
 (DIR) Post #2910430 by staticsafe@mastodon.zombocloud.com
       2019-01-12T19:04:19Z
       
       0 likes, 0 repeats
       
       ugh ffs why is this playbook failing nowhttps://paste.ee/p/xLckz#IxBHzbpvgX5vHT3F4WtsGQ6u84QoeRfV
       
 (DIR) Post #2910431 by staticsafe@mastodon.zombocloud.com
       2019-01-12T19:07:54Z
       
       0 likes, 0 repeats
       
       excuse me Ruby, WTF?https://paste.ee/p/HGxFU#EgnlPDZLHn046WtS52ZocxR3qoVNSdKx
       
 (DIR) Post #2910432 by staticsafe@mastodon.zombocloud.com
       2019-01-12T19:10:13Z
       
       0 likes, 0 repeats
       
       mastodon@animusvox:~/live$ gem install bundler -v 1.16.6Fetching: bundler-1.16.6.gem (100%)Successfully installed bundler-1.16.6Parsing documentation for bundler-1.16.6Installing ri documentation for bundler-1.16.6Done installing documentation for bundler after 4 seconds1 gem installedmastodon@animusvox:~/live$ bundleFetching gem metadata from https://rubygems.org/..^Cmastodon@animusvox:~/live$ ^C
       
 (DIR) Post #2910433 by staticsafe@mastodon.zombocloud.com
       2019-01-12T19:11:12Z
       
       0 likes, 0 repeats
       
       BUNDLED WITH   1.16.6why is there a Gemfile.lock file in here with that?
       
 (DIR) Post #2910434 by staticsafe@mastodon.zombocloud.com
       2019-01-12T19:24:24Z
       
       0 likes, 0 repeats
       
       - name: Install bundler  shell: cd /home/mastodon/live && gem install bundler && gem install bundler -v 1.16.6I just did this and that fixed the playbook 🙄
       
 (DIR) Post #2910435 by staticsafe@mastodon.zombocloud.com
       2019-01-12T20:37:14Z
       
       0 likes, 0 repeats
       
       apparently certbot was broken in this Mastodon playbook too so I just fucking replaced it with acme.sh since I like that more than certbot
       
 (DIR) Post #2910436 by staticsafe@mastodon.zombocloud.com
       2019-01-12T20:40:22Z
       
       0 likes, 0 repeats
       
       PLAY RECAP animusvox.relativedns.com  : ok=44   changed=21   unreachable=0    failed=0hours later of fixing and re-working this playbook, we have successI'm gonna go get some lunch
       
 (DIR) Post #2910437 by staticsafe@mastodon.zombocloud.com
       2019-01-12T20:46:07Z
       
       0 likes, 1 repeats
       
       my Mastodon Ansible playbook is herehttps://github.com/staticsafe/mastibleits pretty fucking good if I do say so myselfgo test it out, if its broken somewhere, let me know so I can fix it, thanks
       
 (DIR) Post #2920376 by flowerysong@cybre.space
       2019-01-13T04:45:41Z
       
       0 likes, 0 repeats
       
       @staticsafe From a quick glance, my main advice would be to use variables and blocks to avoid repeating yourself so much, and to use chdir with command instead of `shell: chdir foo && cmd` (if running this under bash is important, you can move the chdir to args and keep shell.) E.g. here's a rewrite of roles/mastodon-config/tasks/install.yml: https://gist.github.com/flowerysong/bc755b1aaace179a96352035811e877b (I'd really move those variables outside this file entirely, but this shows the principle.)
       
 (DIR) Post #2920377 by staticsafe@mastodon.zombocloud.com
       2019-01-13T04:57:11Z
       
       1 likes, 1 repeats
       
       @flowerysong why chdir instead of cd?thanks for the advice!