Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [yaml]

The tag has no usage guidance.

-1
votes
0answers
13 views

Rstudio error in yaml_load when running code [migrated]

I am not sure why I am getting this error. This is from an example from class and the code works on campus computers. I am trying to Knit the code to Word. I tried looking the error up but it doesnt ...
0
votes
1answer
149 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
34 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 ...
1
vote
1answer
216 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
84 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-...
0
votes
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. ...
2
votes
1answer
6k 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
638 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 ...
0
votes
1answer
28 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
3k 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....