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
0
votes
1 answer

ERROR: (gcloud.app.deploy) - python script

I am trying to deploy a python application and I am receiving the following error message: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you…
0
votes
1 answer

Encrypting properties with "eyaml edit" without a private key?

I would like to use eyaml edit to edit my Puppet/Hiera configuration files. My configuration files are a mixture of encrypted and plain text content. I want to use eyaml edit to encrypt certain properties. So initially my files will contain…
0
votes
1 answer

app.yaml isn't updated when I deploy (Google App Engine, Java)

This is what I put in the app.yaml file: runtime: java8 service: 'scheduler' inbound_services: - warmup derived_file_type: - java_precompiled threadsafe: True auto_id_policy: default api_version: '1.0' handlers: - url: (/.*) static_files:…
0
votes
1 answer

I want to run a.sh on remote hosts and fetch all output files. output file with timestamp. I wrote below code and it is failing with error

I want to run a.sh on remote hosts and fetch all output files. output file with timestamp. You can see below my ansible tasks. --- - name: 'abcd' hosts: 'all' gather_facts: 'false' tasks: - name : 'Copy the script to /tmp/…
Vijay
  • 3
  • 1
  • 2
0
votes
1 answer

Manage list of local users via ansible

I have Linux servers that are using local accounts and I would like to find a way, with ansible, to maintain them. My goal is to keep the same list of users on all servers and be able to efficiently delete or add a new user on all servers when there…
0
votes
2 answers

How can I make salt-api return more useful data?

salt-master: 2016.11.5 (Carbon) salt-api: 2016.11.5 (Carbon) salt-minion 2016.11.5 (Carbon) cherrypy: 10.2.2 After setting up salt-api using this tutorial I've been able to successfully use the API via curl. For example, I can move files. …
trueCamelType
  • 1,086
  • 5
  • 20
  • 42
0
votes
3 answers

Ansible match and change a bash prompt with regex

I would like to change the bash command prompt string from PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$…
David
  • 313
  • 3
  • 15
0
votes
0 answers

Use encrypted eyaml data from puppet file?

I'm storing some sensitive data using eyaml. I have the encryption part working and integrated into my Hiera setup but I'm not sure how to unencrypt from within a puppet file. When I run the following code in puppet: $message =…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
0
votes
1 answer

docker compose sharing volumes with mapped to paths

I have the following yaml version: '2' services: database: image: sameersbn/mysql container_name: invoiceplane_mysql volumes: - /srv/docker/invoicePlane/mysql:/var/lib/mysql/ environment: - DB_PASS=password -…
Kendall
  • 247
  • 2
  • 4
  • 13
0
votes
1 answer

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible?

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible? This is command I want to execute using file module of ansible: ln -s /etc/apache2/sites-available/wsgi-keystone.conf…
Karthik Vee
  • 35
  • 1
  • 1
  • 5
0
votes
2 answers

CoreOS on Google Compute Engine

I have followed the CoreOS on GCE guide. But looks like I am having problems understanding what the user-data metadata field is, and how to get my cloud-config file to be read.. In a directory that has my cloud-config.yaml file, I ran the following…
0
votes
2 answers

Hiera datatypes wont load in Puppet

I have spent a couple of days on this, followed the instructions on http://downloads.puppetlabs.com/docs/puppetmanual.pdf and even the Puppet Training Advanced Puppet manual. When I run a test against it, the results always come back as 'nil' and Im…
Cole Shores
  • 123
  • 2
0
votes
1 answer

How can I boot using Ansible on an Dell iDRAC9 server from an iso that's located on a remote server?

I have this playbook that what I'm trying to do it's to install CentOS using Ansible and Redfish, I don't want to use any modules, I'll install the CentOS on multiple Dell iDRAC9 servers and I'm having one issue: 2)After the ISO it's mounted, the…
bicanul123
  • 101
  • 2
0
votes
1 answer

What's wrong in my docker file - services.db.environment must be a mapping

Here's my yml contents. version: '2.2' services: # postgres # https://hub.docker.com/_/postgres db: container_name: postgres platform : linux/amd64 image: "postgres:14.6-alpine" restart: always environment: …
0
votes
0 answers

Kubernetes auditing policy doesn't work, kubelet won't start up with the policy

im just trying to add audit logging in one of my k8s clusters, my yamls manifest are bellow: kube-api-server file from /manifests/kube-apiserver.yaml apiVersion: v1 kind: Pod metadata: annotations: …
Noisia
  • 1
  • 2