From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wI0JElkvGGLVCgAAgWs5BA (envelope-from ) for ; Fri, 25 Feb 2022 02:22:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gB/YClkvGGJnHwAAG6o9tA (envelope-from ) for ; Fri, 25 Feb 2022 02:22:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C79945279 for ; Fri, 25 Feb 2022 02:22:32 +0100 (CET) Received: from localhost ([::1]:45802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNPJX-0000ml-2p for larch@yhetil.org; Thu, 24 Feb 2022 20:22:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNPI8-0000mc-9q for emacs-orgmode@gnu.org; Thu, 24 Feb 2022 20:21:04 -0500 Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:4490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNPI5-0002eE-3l for emacs-orgmode@gnu.org; Thu, 24 Feb 2022 20:21:03 -0500 X-Sender-Id: a2hosting|x-authuser|steve@stevenharris.info Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2AEB12A0705 for ; Fri, 25 Feb 2022 01:20:18 +0000 (UTC) Received: from mi3-ss8.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 98EFA2A08FE for ; Fri, 25 Feb 2022 01:20:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1645752017; a=rsa-sha256; cv=none; b=as2Wb36kG8+qw7zUXridfyOybsE2S1gSPkuBOT0SkPe7Uu6hPfxEqy1sZMN17PTKIYZ7O2 FKwn8Uqw/i90uJFW+CkCndCLJLovZu3XLR5vgQgqhxwXsy+BPw3JAvKGPrEp4cTIwqA3CL p1WQKh+KYtoWDjIsVs6Qy1MYinyugU7oB6xctzJw0ScJLAXcgJOeY5/aHNNiDinLiqktFV T8t6kqlrgKResKlxxFy6XaEPlie01FcS2luESh34qUvZlCpAOtDLDl8ReN8auWn0RyxXtk y/BdrH3GHQ/pUz+026/W3zWZAdlM+x0MKXbW8QXrrUak1WD0JfM+alY3cri7Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1645752017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=Yd8ew537CHzG8068UJSt1d766Ps7o8jpsm2I9hYTlA8=; b=x7DPDLbfs5a3WX3G2SF5VyYehVWN4ljl11XaEzK5xDT2+m1eGkTGGlllKx0aIMCBkjAR9c 6sO8KVDxD2kZbyHZmGFMVhS5s75UrGMng6cmqaVyA4+oZAdzvXU14da+nnzQoOw3wfr6OI urMNOGiN3+7ObnFYUdnzScGjyokdqo6zwzZ9BXQUvKTJJERueIU5j7Cl+Iaf3A2ZE7DsQa BAjtrEM7zvUN9FdzrKjOCavey3M8kz2hWIHTsPrbWMfS0Y/d6+s9w8ZUcq0Y61fN5Loisk LhXFaPN+WNefQkWeF8+PpmiL3ILDGbf71JQH2sEpe7Ae5xMCLIzusRraHk+uOg== ARC-Authentication-Results: i=1; rspamd-78dc4959d8-5s6f6; auth=pass smtp.auth=a2hosting smtp.mailfrom=steve@stevenharris.info X-Sender-Id: a2hosting|x-authuser|steve@stevenharris.info Received: from mi3-ss8.a2hosting.com (mi3-ss8.a2hosting.com [68.66.200.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.115.218.36 (trex/6.5.3); Fri, 25 Feb 2022 01:20:18 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|steve@stevenharris.info X-MailChannels-Auth-Id: a2hosting X-Occur-Imminent: 3606e2654e726f4b_1645752017973_171436310 X-MC-Loop-Signature: 1645752017973:631323905 X-MC-Ingress-Time: 1645752017972 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stevenharris.info; s=default; h=Content-Type:To:Subject:Message-ID:Date: From:MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mr8pXIhr2iIGClaEYaFiZ8GkBnOtZhF5nWTsRLx8XgI=; b=j+/9/fVVm2lmDfJOVeHRc5giJG 9ctuoA5Kpxdix5j7tkQgN3MGhabskUfNy8qcgjVhqKlUdXeuuUeF5Kspg8wQ0jVMS8THD+OKGxb6k d2nAjh8v7dnRefuRbRcGqukJQNzAkCvgtT+NPBCKEEDu/8J0imaGlWU9mhJTwVloa1L4qT0VcFrb6 u5uS7mBXCSccAVfpoVx03t9Pff+KgBu2ADD28T6aqiUxC3KgGxMBcnggQO5+EkJdh7jk2MQMXOUAm FzH3rsjf/5z3fXuH63X9KE99uqmOwfWNhU3tKfahNd4wLuPPLYDotxhvzcEdtLaNi0kLkXkifA/ws Jm0aeDBA==; Received: from mail-wr1-f41.google.com ([209.85.221.41]:36727) by mi3-ss8.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nNPHM-0001HL-FW for emacs-orgmode@gnu.org; Thu, 24 Feb 2022 20:20:16 -0500 Received: by mail-wr1-f41.google.com with SMTP id r10so2207557wrp.3 for ; Thu, 24 Feb 2022 17:20:16 -0800 (PST) X-Gm-Message-State: AOAM531UxR5DC8xiUrMmuc82ED/JBqWPvijJ0B+iBi1jBvvu+lQ6iLov UbzHqewJSaFKJ3u8fJKmOxq688GL85eh4p/APdM= X-Google-Smtp-Source: ABdhPJxuo4BmB2dtlGUVuZA60v3Dh9fs8/99DhywZYXS0BrfeaCqq4H2mqYmj0dtzj7duFrY2btOS6aX/HL4qMtA1jE= X-Received: by 2002:a5d:5307:0:b0:1ed:d1e0:391 with SMTP id e7-20020a5d5307000000b001edd1e00391mr4038609wrv.475.1645752015667; Thu, 24 Feb 2022 17:20:15 -0800 (PST) MIME-Version: 1.0 From: Steven Harris Date: Fri, 25 Feb 2022 12:20:03 +1100 X-Gmail-Original-Message-ID: Message-ID: Subject: Beginning with org-babel. To: emacs-orgmode Content-Type: multipart/alternative; boundary="0000000000004847ec05d8cd807e" X-AuthUser: steve@stevenharris.info Received-SPF: permerror client-ip=23.83.209.51; envelope-from=steve@stevenharris.info; helo=dragonfly.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645752153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mr8pXIhr2iIGClaEYaFiZ8GkBnOtZhF5nWTsRLx8XgI=; b=U0CBwVW0hTRvPXTlUkKi4z2k5mX1+KcRaWX/qo+xq7p+kd5cbkugwjFRLSY4H9cOAb+xMh azjA4wcdm2P2Z4VDfapchhr6FYGLJpRMNjbqQfY36XElQj6RK/xCs/IdHE+DYvAbwJ4g96 rbLeGqgbvEv6t2dKkY9+5gaZoGeLBALNbqyLgNM8qIwHnYfOkItFsSfG49Mk1oEBzdWHdH Oi8nccfoylD2f67qcx/sIV2ffzuENDWQtW42cZtKQzS87GPQFJAs2BcW3B2JhFz8TVvbsq v/XJfFfLLNJIyv/muk/0hzgHqI7gtJwemupBaymGfPCpoDCW0YzWGa8Gz9xlTw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645752153; a=rsa-sha256; cv=fail; b=TaYpozb0S9RmBmytgNBs6WSiP9wdHIElhFbyZwd/+8X8XcFO9k0o+rENk29sPCWS852sl7 N4bDR+aRrYGile4xht5mjTZODDTZx6QWeKqtyHIkkUUIaYUdi6yiB7QH5y/uxmLMIrJ6uA bJq3iM6qw9RvicK73UdeYh9v5gwmZjOp4bSdYlL/4R0qQokk9cy0raR72Q55Ap7zg+rqAY MAqN8iOR4b4ERyllm4jnMk/8b6Q4vHrRCjTgWeKeFBqNy4h0318/HkbqUmCDojJ09Tvn1x o6OmXYWnYgpW06G5VDVPaDpXLD3vbIXfnah9JzfHmEScYNbwf2cINO9FSA6H9w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=stevenharris.info header.s=default header.b="j+/9/fVV"; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=stevenharris.info header.s=default header.b="j+/9/fVV"; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8C79945279 X-Spam-Score: -1.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: xaMZoz4KqrSY --0000000000004847ec05d8cd807e Content-Type: text/plain; charset="UTF-8" Hi All Ansible is a system configuration-management tool that is based on "playbooks". These are collections of mostly YAML files, but also Jinja2 templates and unix configuration files. To execute one needs to run a unix shell command with a python virtualenv set up and usually some environment variables set. Painfully much of this lives fragmented in a nested directory structure, many of the files in which are named "main.yml". Sometimes the same information has to be set in two places with incompatible formats , such as a config file and an environment variable. I am trying to bring some literate programming to bear on this can of worms so have reached for Babel. It's my first use of it. The current problem is that I have a config file that I want to substitute a value into. I want the conf-mode highlighting. Conf is not a programming language of course, just a text format. I'm trying something like #+begin_src conf :tangle yes :noweb yes [defaults] private_key_file = <> #+end_src I have tried something similar to the SQL comment example in the documentation to no avail and also setting :var headers. How can I substitute a value here? Cheers Steven --0000000000004847ec05d8cd807e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All

Ansible is a system configuration-management= tool that is based on "playbooks".=C2=A0 These are collections o= f mostly YAML files, but also Jinja2 templates and unix configuration files= .=C2=A0 To execute one needs to run a unix shell command with a python virt= ualenv set up and usually some environment variables set.

Painfully = much of this lives fragmented in a nested directory structure, many of the = files in which are named "main.yml".=C2=A0 =C2=A0Sometimes=C2=A0 = the same information has to be set in two places with incompatible formats = , such as a config file and an environment variable.

I am trying to = bring some literate=C2=A0programming to bear on this can of worms so have r= eached for Babel.=C2=A0 It's my first use of it.

The current=C2= =A0problem is that I have a config file that I want to substitute a value i= nto.=C2=A0 I want the conf-mode highlighting.=C2=A0 Conf is not a programmi= ng language=C2=A0of course, just a text format.

I'm trying somet= hing like

#+begin_src conf :tangle yes :noweb yes
=C2=A0 [defaul= ts]
=C2=A0 private_key_file =3D <<ssh_private_key_file>>
= #+end_src

I have tried something similar to the SQL comment example = in the documentation to no avail and also setting :var headers. How can I s= ubstitute a value here?

Cheers

= Steven




--0000000000004847ec05d8cd807e--