using tabs within block for ansible blockinfile module

using tabs within block for ansible blockinfile module I want to output some text with tab as separator using ansible here’s task snippet – name: Create output file blockinfile: block: | Some texttmore text path: ‘{{ playbook_dir }}/output.txt’ create: true CURRENT OUTPUT # BEGIN ANSIBLE MANAGED BLOCK Some texttmore text # END ANSIBLE MANAGED BLOCK …

Total answers: 1

systemd.network management

systemd.network management I try to follow the manual example from man systemd.network: # /etc/systemd/network/27-xfrm.netdev [NetDev] Name=xfrm0 Kind=xfrm [Xfrm] InterfaceId=7 # /etc/systemd/network/27-eth0.network [Match] Name=ens5 [Network] Xfrm=xfrm0 Then systemctl daemon-reload + systemctl restart systemd-networkd. And – nothing. In systemctl status systemd-networkd it also does not show any references to xfrm: Apr 16 23:52:07 ip-10-100-1-205 systemd[1]: Starting Network …

Total answers: 2

What's the "new" way of checking the established connections in strongswan

What's the "new" way of checking the established connections in strongswan Previously it was in ipsec statusall. Now with swanctl I can only see swanctl –list-conns but it only shows the configuration details, not the runtime statistics: eg bytes transferred, negotiated ciphersuites, reauth/rekeying stats, and so on and so forth. So, is there any similar …

Total answers: 1

How much space do I need to create a symlink?

How much space do I need to create a symlink? I have a server which contains 1 TB of space. I filled it to capacity; then I wanted to make a symlink. I removed a different symlink, but the server still wasn’t happy – it said I didn’t have any space available. Didn’t I just …

Total answers: 2

NGINX HTTPS not redirecting properly

NGINX HTTPS not redirecting properly I followed Cerbot’s instructions to get a HTTPS certificate for NGINX in my Debian server for a domain, but the HTTPS is not redirecting properly. I got the following in etc/nginx/conf.d/app.conf from Certbot’s automatic generation: server { server_name mnpd.khkm.dev www.mnpd.khkm.dev; # listen 8080; server_tokens off; location /.well-known/acme-challenge/ { root /var/www/certbot; …

Total answers: 1

File removed from .deb package

File removed from .deb package I created a .deb file where I originally stored an F file. Then I installed this deb file and the F file is correctly in place under a D directory. Then I rebuilt the .deb file excluding the F file from its building. Now I would like to install this …

Total answers: 1

Is this process safe? "ClipboardMonitor"

Is this process safe? "ClipboardMonitor" This process is displaying on my taskbar as "ClipboardMonitor". It seems related to a remote desktop client, but that is just a guess. My question is what is this tracking and where is the output going? Here is the command line for the process: /opt/TSPrintClient/java/bin/java -classpath /opt/TSPrintClient/commons-codec-1.10.jar:/opt/TSPrintClient/commons-io-2.4.jar:/opt/TSPrintClient/sun.misc.BASE64Decoder.jar:/opt/TSPrintClient/TSPrintClient.jar MonitorClipboard Asked By: …

Total answers: 1

Connected to WiFi but there is no internet

Connected to WiFi but there is no internet $ lsb_release -a No LSB modules are available. Distributor ID: Pop Description: Pop!_OS 22.04 LTS Release: 22.04 Codename: jammy I was able to connect to the Internet until Sunday. I couldn’t connect to the Internet on Monday. Nothing has changed on my PC. The only thing I …

Total answers: 1

Piping live sound from raspberry pi to macOS

Piping live sound from raspberry pi to macOS I want to pipe and live play the sound recorded on my raspberry to my MacBook. Ive tried the following: On My raspberry: I tried to establish a data stream on a port 3333 arecord -D plughw:3,0 -f S16_LE 44100 -t raw | nc -l -p 3333 …

Total answers: 1

pandoc does not seem to include .rtf files. Can I add them?

pandoc does not seem to include .rtf files. Can I add them? I am using Ubuntu 22.04 LTS I wanted to convert .rtf files to PDFs using Python. I found this on stackoverflow: import pypandoc def convert_rtf_to_pdf(input_rtf, output_pdf): pypandoc.convert_file(input_rtf, ‘pdf’, outputfile=output_pdf) if __name__ == "__main__": input_rtf_path = "Path to your RTF File" output_pdf_path = "path …

Total answers: 1

Fish needs a lazy evulation to remove an element from a list

Fish needs a lazy evulation to remove an element from a list I’m running Fish version 3.7.0, and I want to write a function to remove elements from lists, based on their index. For instance, I want to remove the element from PATH environment variable at index 2: set -l variable_name PATH set -l index …

Total answers: 1

How can I find out with APT to which package a purely virtual package refers?

How can I find out with APT to which package a purely virtual package refers? How can I find out with APT to which package it refers? host# apt-get install xvnc4viewer Reading package lists… Done Building dependency tree… Done Reading state information… Done Package xvnc4viewer is not available, but is referred to by another package. …

Total answers: 1

How can I use $0 in Makefile?

How can I use $0 in Makefile? I would like to include the following command (taken from here) in a Makefile. A simple version of my Makefile script containing the command is: copy_files: sed ‘s/^/./’ ./input_file | rev | LC_ALL=C sort -u | awk ‘p == "" || substr($0,1,length(p)) != p { print $0; p …

Total answers: 1

SSH: Bad configuration option

SSH: Bad configuration option I have a problem setting up the SSH service: SSH: Bad configuration option Asked By: Mark Wudman || Source I found a solution at: https://vsys.host/how-to/how-to-use-the-ssh-config-file HOST AND PATTERN MATCHING Sophisticated host and pattern matching in SSH config files allows for efficient management of connections to multiple servers. Using patterns and wildcards, …

Total answers: 1

Change header/footer font with groff mm

Change header/footer font with groff mm I am currently testing the mm and mom macro packages and noticed that the default font family is not used for headers/footers with mm (unlike mom, which uses the selected font for all text). My test file contains the following: .nr L 29.7c .nr W 16c .nr O 2.5c …

Total answers: 1