Project

General

Profile

Actions

Bug #29336

closed

When variable (or template input) contains \s or other non-string formatting characters, execution fails

Added by Marek Hulán about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No

Description

This is caused but the way we generate ansible inventory

#!/bin/sh
cat <<EOS
...
EOS

cat reading from STDIN causes to interpolate \\\s and ansible that fails parsing it. The safer solution is to have the playbook in external file and in the dynamic inventory just cat that.

Actions #1

Updated by Marek Hulán about 4 years ago

  • Target version set to foreman_ansible_core 3.0.3
  • Fixed in Releases foreman_ansible_core 3.0.3 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/336 added
Actions #3

Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF