Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting YAML identation #25049

Merged
merged 1 commit into from
May 26, 2017
Merged

Correcting YAML identation #25049

merged 1 commit into from
May 26, 2017

Conversation

iainfoulds
Copy link
Contributor

SUMMARY

With the published example for using Azure Resource Manager modules, the indentation appears to throw a YAML syntax error when parsing the network security group section:

ERROR! Syntax Error while loading YAML.

The error appears to have been in '/home/azureuser/azure_create_complete_vm.yml': line 22, column 29, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  - name: Create Network Security Group that allows SSH
      azure_rm_securitygroup:
                            ^ here

Adjusting indentation to the proposed allows the YAML parsing to complete successfully and the task to run correctly.

ISSUE TYPE
  • Docs Pull Request
ANSIBLE VERSION
ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

@ansibot
Copy link
Contributor

ansibot commented May 25, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 docs_pull_request needs_triage Needs a first human triage before being processed. labels May 25, 2017
@resmo resmo merged commit a1709bf into ansible:devel May 26, 2017
@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label May 31, 2017
@ansibot ansibot added docs This issue/PR relates to or includes documentation. and removed docs_pull_request labels Mar 4, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 docs This issue/PR relates to or includes documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants