apigee / henchman

Orchestration and Automation tool
BSD 2-Clause "Simplified" License
109 stars 19 forks source link

Allow to use yaml native syntax for module params #141

Closed sergeycherepanov closed 7 years ago

sergeycherepanov commented 7 years ago

Hi, I added more smarter parser for module parameters.

It is allow to use yaml syntax for modules (like in ansible) and more comfortable for the multiline values:

- name: "Upgrade"
  shell:
    env: "DEBIAN_FRONTEND=noninteractive" 
    cmd: |
      apt-get update
      apt-get upgrade

Currently henchman allow to use only this:

- name: "Upgrade"
  shell: env="DEBIAN_FRONTEND=noninteractive" cmd="apt-get update && apt-get upgrade"