Skip to content

How to correctly implement SSH into roles.yaml? #38

@Gabelbombe

Description

@Gabelbombe

I added this to my roles.yaml, but it doesn't seem to be working. What is the correct way to do this?


---
roles:
  pe-puppet-master:
    private_networks:
      - {ip: '0.0.0.0', auto_network: true}
    provider:
      type: virtualbox
      customize:
        - [modifyvm, !ruby/sym id, '--memory', 4096]
    provisioners:
      - {type: shell, inline: 'cd /etc/yum.repos.d; wget -nc http://public-yum.oracle.com/public-yum-ol6.repo'}
      - {type: hosts}
      - {type: pe_bootstrap, role: !ruby/sym master}
      - {type: shell, path: 'scripts/bootstrap.sh'}
      - {type: puppet, manifest_file: 'vagrant.pp'}
    ssh:
      private_key_path: "~/.ssh/mykey_rsa"
      forward_agent: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions