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
    feld (feld@friedcheese.us)'s status on Friday, 31-Jan-2025 07:59:00 JST feld feld
    @dvl so, vlan.id is the number you need so you'll have to inject some code into this template to construct what you want. the following syntax is 100% wrong but should get you into the right mindset

    {% cloned_interfaces = for vlan in vlans ... somehow make "vlan" + vlan.id endfor.join(" ") %}
    In conversation about 3 months ago from friedcheese.us permalink

    Attachments


    • Embed this notice
      Thomas Steen Rasmussen (tykling@mastodon.social)'s status on Friday, 31-Jan-2025 15:14:41 JST Thomas Steen Rasmussen Thomas Steen Rasmussen
      in reply to

      https://github.com/tykling/ansible-roles/blob/master/freebsd_host/templates/netif.j2#L6 i do this @dvl @feld

      In conversation about 3 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        ansible-roles/freebsd_host/templates/netif.j2 at master · tykling/ansible-roles
        Ansible roles shared between my different Ansible installations - tykling/ansible-roles
      feld likes this.
    • Embed this notice
      feld (feld@friedcheese.us)'s status on Friday, 31-Jan-2025 15:15:21 JST feld feld
      in reply to
      • Thomas Steen Rasmussen
      @tykling @dvl i didn't expect that syntax to be allowed but I haven't needed to write a lot of Jinja I guess. That looks like it will do it!
      In conversation about 3 months ago permalink

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.