GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    scetron (scetron@techhub.social)'s status on Tuesday, 26-Mar-2024 20:13:16 JST scetron scetron
    in reply to
    • Marcos Dione
    • Dennis Hoppe

    @mdione @dhoppe I always find it easier to debug jinja by removing all of the template and adding it back piece by piece…

    That or copying the variables that go into it into a fixture and using that with a playbook with just the jinja and vars.

    In conversation about a year ago from techhub.social permalink
    • Embed this notice
      Marcos Dione (mdione@en.osm.town)'s status on Tuesday, 26-Mar-2024 20:13:17 JST Marcos Dione Marcos Dione
      in reply to
      • Dennis Hoppe

      @dhoppe thanks. That means that now I "only" have to extract the variable information from #ansible. As that aspect of ansible is quite complex to reproduce, I will have to rely on Ansible itself. Maybe one could use it as a module and ask it to generate that?

      In conversation about a year ago permalink
    • Embed this notice
      Dennis Hoppe (dhoppe@chaos.social)'s status on Tuesday, 26-Mar-2024 20:13:29 JST Dennis Hoppe Dennis Hoppe
      in reply to
      • Marcos Dione

      @mdione This tool was recommended by someone some time ago.
      https://github.com/kpfleming/jinjanator

      In conversation about a year ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - kpfleming/jinjanator: Jinja2 Command-Line Tool, reworked, again
        Jinja2 Command-Line Tool, reworked, again. Contribute to kpfleming/jinjanator development by creating an account on GitHub.
    • Embed this notice
      Marcos Dione (mdione@en.osm.town)'s status on Tuesday, 26-Mar-2024 20:13:31 JST Marcos Dione Marcos Dione

      I keep looking for ways to debug #jinja templates under #ansible. Seems like the answer is that you can't debut Jinja templates at all.

      PS: boosts and tips welcome.

      #python

      In conversation about a year ago permalink

      Attachments


Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.