Questions tagged [yaml]

YaML is a human-readable data serialisation format.

YAML is a data serialisation format designed to be written and read by humans. Modern YAML is a superset of JSON, meaning that YAML parsers can consume any valid JSON as well as the richer and more human-friendly long form.

For more information refer to the YAML Wikipedia page or the YAML homepage.

92 questions
1
vote
1 answer

saltstack configuration "No Top file or external nodes data matches found"

A very similar version of this question is asked here , but it's completely different since the person had their top file in the wrong directory. I have 3 projects, that I'll call project1, project2, and project3. My goal was to create a…
trueCamelType
  • 1,086
  • 5
  • 20
  • 42
1
vote
1 answer

How should I replace this line "provisioner: k8s.io/minikube-hostpath" for a "Kind" statefulset.yaml file?

The following is a StatefulSet.yaml file for deploying Cassandra database on a minikube cluster. I am not sure what lines should be replaced if I want to use a Kind cluster instead of a minikube one, but I think one obvious option would be…
best_of_man
  • 367
  • 1
  • 3
  • 12
1
vote
1 answer

replace with regular expression in azure devops

I want to take this buildVariable Build.SourceVersion which will equal for example: 0gc58d92d905d62415b8866g3f48f17416da426s And replace from digit [7] till line end with empty string 0gc58d92 I tried - ShortCommitId: ${{…
1
vote
1 answer

Password of new user with LXD and Cloud-init

I'm trying to create a profile to automate the creation of a container, but I'm having trouble with cloud-init. For some reason the password is not being set for the user and is also not being added as a sudoer. Here is the YAML: config: …
1
vote
1 answer

Google AppEngine - 502 Bad Gateway

I'm running a Python Flask endpoint locally and it all works fine, but when I deploy it in GCP AppEngine, I get a 502 Bad Gateway. It seems to fail at about 200 reads of 2290 bytes each. I've increased the memory_gb of both the default YAML and the…
1
vote
1 answer

Alertmanager telegram config chat_id and cannot unmarshal errror

I am trying to configure alertmanager to send alerts to my telegram group. Following the configuration I have: global: resolve_timeout: 5m route: group_by: - job group_interval: 5m group_wait: 30s receiver: "telegram" repeat_interval:…
Jose
  • 21
  • 1
  • 2
1
vote
0 answers

Multiple VM deployment via GCP Deployment Manager

What I want to achieve: I want to be able to create multiple VM instance using AWX playbook or Deployment Manager. The script will read instance configuration in a csv uploaded to gcloud or bitbucket, then create the resources as the values in the…
Sunny J
  • 607
  • 3
  • 14
1
vote
0 answers

yaml.parser.ParserError: while parsing a block mapping

I followed this document while configuring patroni and I have a problem with patroni.service file like this https://snapshooter.com/learn/postgresql/postgresql-cluster-patroni [Unit] Description=Runners to orchestrate a high-availability…
1
vote
0 answers

How to monitor datadog-agent's certificates expiration?

I have an nginx-pod which redirects traffic into Kubernetes services and stores related certificates insides its volume. I want to monitor these certificates - mainly their expiration. I found out that there is a TLS integration in Datadog (we use…
1
vote
1 answer

How to convert and save raw data to PDF format using ansible

I will be getting some raw data directly from an API. I want to format this and convert into PDF file and save it. I gone through ansible modules. I am not getting any idea in this. Can someone suggest how we can achieve it using Ansible please.
saffron
  • 143
  • 1
  • 3
  • 12
1
vote
1 answer

When using an Ansible playbook, how do you store and use a password containing quotes or other metacharacters without them being interpereted?

My company uses Ansible (which I am a novice at) and we have a playbook and a related role for joining new Linux machines to AD. Our admin accounts have their passwords rolled three times a day, and we can't set them ourselves. The Ansible…
Linoob
  • 113
  • 3
1
vote
1 answer

Create a tree-like structure with ansible

I have to create an LDAP structure with users and groups. The groups are a bit complex with a lot of nested groups etc. I need to create a tree like structure in my inventory, like the following: ---- user_groups: - name: AllUsers members: …
ptselios
  • 41
  • 1
  • 6
0
votes
0 answers

Using 'archive_command' directive on postgres container in kubernetes 'invalid argument: "%p"

I've got Postgres 11.5-alpine running in kubernetes in a leader-follower setup that has been working well using streaming replication for some time. I've decided to cover my bases by writing the WAL archive to a shared network drive (Azure blob via…
Chris Berry
  • 101
  • 1
0
votes
1 answer

Ansible Playbook and syntax issue with variables

I'm trying to execute the below playbook I wrote but it fails on some syntax errors. I tried few things from the online doc but without sucess so far. The aim of these variable is to generate a random password to be used by the user module in a…
Nicolas
  • 15
  • 1
  • 4
0
votes
2 answers

Dynamic inventory in yaml format

Background I have domain managed via Terraform and it outputs server IP address. Then I have a script which outputs YAML inventory (outputs follows later). Ansible 2.6.2 Source of format:…
Mailo Světel
  • 233
  • 4
  • 10