Questions tagged [yaml]

Use this tag for questions about the YAML data serialization format only, not for questions about programs (or examples) that happen to have their configuration in a YAML format.

Filter by
Sorted by
Tagged with
1
vote
0answers
68 views

Ansible YAML indentation

How to highlight ansible indentation using vim or any other text editor? I have tried https://github.com/k1LoW/emacs-ansible, but cant able to get highlighted
0
votes
3answers
7k views

Ansible “provided hosts list is empty” error

I created an inventory file has .yml extension like below: --- all: server1 hosts: server2 children: hana: prod: client1: hosts: ...
0
votes
0answers
87 views

How do I import latest jenkins docker image into openshift without networking issues?

The native jenkins image in openshift doesnt support lot of plugins and hence I want to make use of latest jenkins into openshift kubernetes platform. Any suggestions to get this done swiftly from ...
1
vote
0answers
1k views

I cannot create a Node.JS Web App to be deployed on Azure

For the past week I've been trying to get Azure to deploy an accessible website with Node.JS. Let me re-count the steps I've done. 1) I go to Visual Studio, and I select the Basic Azure Node.js ...
0
votes
0answers
17 views

Cannot open yaml-cpp.lib when building

i want to build some cpp code with help of a CMakeLists.txt. The following error occurs while building: LINK : fatal error LNK1104: File"yaml-cpp.lib" could not be opened. But that file exists! Does ...
0
votes
1answer
50 views

Is there a standard for this file format?

I run an Ubiquity Edge router which itself is based upon Vyatta (it does not matter, it is just in case someone knew the product). The configuration file looks like that (...) service { dhcp-...
0
votes
1answer
269 views

Cloud formation error: Invalid template resource property 'Path'"

I have an issue with the YAML template that is creating a Kafka cluster. I think it is an indentation error at line 457 or below. At the moment I have the following error: Invalid template resource ...
1
vote
1answer
174 views

Why is my yaml build failing test? yaml-cpp-0.6.0: handler_test.cpp:(.text+0x9f2): undefined reference to `testing::internal::GetWithoutMatchers()'

When I install the astronomy software purify. It needs a latest version of yaml like yaml-cpp-0.6.0 I didn't encounter any errors, standard output is like -- The C compiler identification is GNU 7.3....
0
votes
1answer
870 views

Mount multiple NFS shares in RancherOS

I am setting up a RancherOS VM on my FreeNAS server and I am having trouble setting up NFS shares. I have a .yml file that is able to set up one share mount but I would like to be able to set up two ...
0
votes
1answer
697 views

YAML Syntactical Error

The following is my yaml file for a ansible configuration of a cisco device. In /etc/ansible/hosts I have also edited the hosts file to reflect my Amazon EC2 Ami instance as can be seen below [ec2-...
2
votes
1answer
84 views

Adding a comment character to the leftmost column of YAML in Vim

When editing the following yaml with Vim: countries: - country: name: France I can comment out line 2 with :2s/^/#Enter (Case 1). The result is as expected: countries: # - country: ...
4
votes
1answer
5k views

“volumes 'type' is a required property” when running docker-compose

I am working through understanding how docker-compose.yaml works. I am trying to define a volume inside the compose file and to mount it at a mount point locally. I try to run a basic .yaml to mount ...
0
votes
0answers
129 views

Why do tabs in YAML work some but not at all times?

We've used tab-characters in some of YAML-files here: host: "foo" port: 8011 p: "bar" For some reason, the same version of Ansible running the same playbook works just fine with these files ...
2
votes
1answer
425 views

Ansible inventory hierarchy

I want make an inventory file for Ansible as sorting-independent. There is an example below for this file: [houston:children] hst-lin hst-win [hst-lin:children] hst-lin-prod hst-lin-test [hst-win:...
1
vote
2answers
105 views

Bash - substituting parameter in parent match (SED/AWK)

I'm working on a small script to take some variables, packageName, newVersion. I've googled and tried an awful lot and it brings me to asking. The script executes as: updatePackage.sh -p weblogic-...
1
vote
1answer
2k views

Convert JSON to YAML using PowerShell

I have a json data like this. sample.json [ { "id": 0, "name": "Cofine", "title": "laboris minim qui nisi esse amet non", "description": "Consequat laborum quis exercitation culpa. ...
3
votes
1answer
8k views

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/...
2
votes
1answer
1k views

Saltstack best practices documentation clarification

To be clear, I am not asking for the "best way" to use saltstack. I understand that there are tons of ways to use saltstack, and what works for you, works. My question is specifically about the best ...
2
votes
1answer
798 views

How can I get pandoc to recognize my custom YAML fields?

I have a markdown file that starts like this: --- title: Some Title author: - family: Barson given: Foobius --- And I'd like to get pandoc to extract this information and output it. So I have a ...
1
vote
1answer
33 views

Linux program used to gather installed packages, processes, listening ports, etc.?

It's hard to Google this because it seems like everyone and their kid sister has written a script to gather system stats! I once saw a mature program written that is used to gather system stats like ...
0
votes
2answers
4k views

configure: error: Please install libyaml

I am following the installation of Basics of YAML Parsing in PHP to install YAML for PHP in Fedora 20. I went through all these steps: wget http://pecl.php.net/get/yaml-1.1.0.tgz tar -xvzf yaml-1.1....