Skip to content

How to specify hosts file? #18

@mabushey

Description

@mabushey
  • module.ansible_provisioner.null_resource.provisioner: Error running command 'ansible-playbook --user=ubuntu -e host=54.219.165.55 interview_devops_playbook.yml': exit status 4. Output: [WARNING]: provided hosts list is empty, only localhost is available. Note
    that the implicit localhost does not match 'all'

there is no inventory file being passed.... :(
How can I specify the hosts file? I would like -i ./hosts added to the command string. Terraform is awesome, but when the code is in a module it gets cached and becomes difficult to modify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions